473,788 Members | 2,706 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Forum

PHP web programming language - Ask questions about php scripting, databases, mysql, templates, PEAR, php functions, PHP-GTK, setup and installation, object oriented programming, classes, files, security, sessions, arrays and more.
5
1,718
thread by: Alan M Dunsmuir | last post Jan 2 '08 by: Michael Fesser
I have a Form with a <SELECTtab, its <OPTIONtabs generated by records in a database table using PHP5 and a 'SELECT' query. The values displayed are chosen to be recognisable to the users (they are in fact a list of names), but the data I need to process in the post-back come from other related fields in the same database record. I'm...
1
2,584
thread by: mac89 | last post Jan 2 '08 by: stepterr
Hi, I was wondering if anyone could help me with this problem. Here is the case, I have a News database which you are able to view here: http://lotrtw.com/news/index_.php And users will be able to add/delete/edit. Ive worked out how to add and delete entries but Im stuck with the editing part, everytime when you click the Edit button after...
10
1,684
thread by: paul814 | last post Jan 2 '08 by: Tim Streater
I am having a bit of a problem with some code....can someone give me some suggestions? Parse error: syntax error, unexpected '{' in C:\xampp\htdocs\production \date2.php on line 28 line 28 is this line: while($row = mysql_fetch_array(mysql_query($sql)) { It is the first while..
0
1,154
thread by: Karl | last post Jan 2 '08 by: Karl
Hello again. I use this file-upload example below. But I want to check if a file exists. I have tried to put the file_exists() function inside of this. But it did not work well.. (The example below is taken from Oreillys PHP Cookbook and it work nice. But it overwrite existing files and I like to receive an error and protect files on the...
3
1,261
thread by: tuananh87vn | last post Jan 2 '08 by: Markus
hi, given a link like this http://www.site.com/index.php?p=news&id=1234&action=edit from index.php, as we use switch and get method, it's not a problem to include a news page, but is this feasible to use the only index.php as the root page then include all the other news page, news detail and possible action, edit news in this case, just by...
5
1,969
ujdave
thread by: ujdave | last post Jan 2 '08 by: pbmods
Hi everyone! First of all this is not an "I've got a huge ERROR, plz help me to solve it" post, but a "What do you think which is better for this EXACT JOB?" post. So, I work on an application and (see a miracle) I have a couple data and now I'm wondering how to store this informations. The data perfectly suits to XML data structure, and php...
1
1,114
thread by: Tine Müller | last post Jan 2 '08 by: Rik Wasmus
In my table I have a field called "lat" and "lng" which have the coordinates for showing the markers on my map http://www.tinemuller.dk/alle_folkebiblioteker/dropdownmenu/PVII/. The problem is that some markers are on the same coordinates so I have to figure out the query to make in Navicat showing this places so I can make a printscreen to...
1
1,267
thread by: faizah | last post Jan 2 '08 by: Markus
hai,i'm a beginner in php, i have some problems dealing with calculation. can we make complex calculation using php involving add,minus, and other mathematical operations?and the other thing, how I want to send an email for password automatically after the person register to my web site n how online payment is make ? thanxs with all your help
1
1,422
logudotcom
thread by: logudotcom | last post Jan 2 '08 by: Markus
Hi. how can i implement this, <!-- BEGIN STANDARD TAG - popup or popunder - ROS: Run-of-site - DO NOT MODIFY --> <SCRIPT TYPE="text/javascript" SRC="http://ads.komli.com/st?ad_type=pop&ad_size=0x0&section=232067&banned_pop_types=28&pop_times=1&pop_frequency=0&pop_nofreqcap=1"></SCRIPT>
0
1,299
thread by: Gordon | last post Jan 2 '08 by: Gordon
With the move over to PHP 5.x I' mnow writing a lot of code that makes use of prepared statements as the PHP manual has nothing but good things to say about them. They have less overhead for the database, they eliminate the possibility of SQL injection attacks, they are made of sunshine and fluffy kittens, etc. Then I got to thinking, in my...
2
2,390
thread by: adam.waterfield | last post Jan 2 '08 by: adam.waterfield
Maybe someone could help me a little here. On a project I am working on, we have some LDAP authentication to Active Directory which allows users to login to our application - this is fine. When accessing this application from off campus, they routinely get this login window confused with the one they login to Exchange Sever with for their...
0
942
thread by: vitdet | last post Jan 2 '08 by: vitdet
Hi all, I have some problems about the webservices in php. I just dowloaded some files to create webservices such as: - nusoap.php - server.php - client.php and example simple function to add 2 interger.
5
1,311
thread by: jcoder | last post Jan 2 '08 by: jcoder
php has several open-source system and some are free like oscommerce,etc. what is most advisable if you have a new project should you go for open source or create the project from scratch? you input pls....
1
1,251
chathura86
thread by: chathura86 | last post Jan 2 '08 by: pbmods
hi im using php5, exchange server 2007, and pear Mail and pear mail_mime packeges to send mails. it works fine with-in my domain.but i cannot send mails to addresses which are out side my domain through PHP. but i can send mails using outlook 2003 i get the following error
1
1,438
thread by: pedjasmek | last post Jan 2 '08 by: pbmods
I'm using this code: <?php require_once "Mail.php"; $from ="__MUNGED__"; $to = "__MUNGED__"; $subject = "Hi!"; $body = "Hi,\n\nHow are you?";
1
1,289
thread by: hott5hotj | last post Jan 2 '08 by: pbmods
I have been trying to create an authentication system using PHP5+, MYSQL 5+ and APACHE2+ using Actionscript3. When I got the codes together my password and usernames would not check against the MYSQL database, so I tried changing the code to then just obtain the passwords straight from the PHP files. I was just trying something different as I had...
1
2,892
rohypnol
thread by: rohypnol | last post Jan 2 '08 by: pbmods
Hi! Is there a way to have a persistent connection between the client and the server, through which to pass data from one to the other? For example, having a webchat application that connects to the server using the XMLHttpRequest javascript object and keeps the connection alive until the page is closed (consider a "perfect" environment where...
1
1,198
thread by: vps | last post Jan 2 '08 by: pbmods
Do I need to break a mail message into lines of 70 characters each? Apache 2.2 with PHP 5.2.5 sends messages with lines of any length at my localhost with all characters intact. Thank you very much!
5
7,471
stepterr
thread by: stepterr | last post Jan 2 '08 by: pbmods
I have a form that is built based on a query. Everything is working except when I submit the form the radio buttons are only updating the first row in my database. dcategory and dthumbnail are two radio buttons that I have for each one of the rows in the table. I've tried using a hidden input object for each of the radio button groups to store the...
10
2,275
thread by: Edward Hass | last post Jan 2 '08 by: Jerry Stuckle
Is there a PHP equivalent to the JavaScript XMLHttpRequest function: ....... myrequest.open('POST', url, true); ........ myrequest.send(data); In other words, I'd like to get data from another web page that needs to receive input via the POST method. Thanks,
1
1,362
realin
thread by: realin | last post Jan 1 '08 by: rycopiero`
hi all, well just a question, that how can i send emails in php with a delay. like in a burst i send 10-15 emails at once and then delay for a minute or two (so that server isnt offended). Shall i use sleep() or what else do you recomment. Another thing i wanted to know was how many mails at once can i send so as not to harm the server....
1
2,835
thread by: runway27 | last post Jan 1 '08 by: rycopiero`
hi i have registration form where user selects from a drop down to select their area code apart from filling other details in the form. in the next page which is a confirmation page i would like to display the select option that a user choose in the first page i am able to display this using a textfield however i would like to display using the...
1
1,237
thread by: Rocky86 | last post Jan 1 '08 by: Markus
Hi there any ppl know to how make a Calender in PHP script cause I am doing a project base on chalet booking and I want to create a calender in my project so user can see the calender is it possible in PHP if yes please teach me thx!!
1
1,419
thread by: nokiamobile.e90 | last post Jan 1 '08 by: Jerry Stuckle
Hi, I need a php script that compile the form available in this page: http://europe.nokia.com/A4305060 and store the results in a file. If the results are different from last check, the script should send a mail. The script, with only one execution, should compile the form N times, where N is the number of codes to check, stored in a file.
5
1,096
coolgames
thread by: coolgames | last post Jan 1 '08 by: Markus
i don't know what's wrong with this error: "Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/yuvoo/public_html/uzumakionline/modules/village_music.php on line 12" code: <?php function village_music_getmoduleinfo(){ $info = array(

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.