473,800 Members | 2,647 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.
1
1,631
thread by: runway27 | last post Jan 11 '08 by: nathj
i have a register.php and confirmregister.php file. in the first file the user fills a registeration form and in the second page they can review what they entered in the first page and then confirm their registration. in register.php i am able to call a javascript file which does the validation of the form fields. <script...
1
1,149
thread by: jodleren | last post Jan 11 '08 by: ZeldorBlat
Probably a common thing - how do I do that? the createimagefromwbmp is not for bitmaps... :-) reading is the problem, saving images as something else is not.
5
7,127
thread by: Johnymap | last post Jan 11 '08 by: Johnymap
Hi everyone I have text file which looks like these: "index.txt" Johan 22 sebaya "home.hml" Mpho 23 leboa "index.frt" Tedesca 24 teba My problem is i want to read the number on the last sentence. At the current moment I can only read the whole of the last sentence. Please help
11
2,154
thread by: Robin S. | last post Jan 11 '08 by: Jerry Stuckle
I've used phpinfo() to confirm settings for mySQL on our host server, and it's not returning accurate info. phpinfo() returns a mySQL client API version of 3.23.54 (uselss for me), where as a SELECT VERSION() query on the mySQL database returns version 5.0.27 (exactly what we need). I think there's something wrong with the mySQL library in...
0
1,751
thread by: susikto | last post Jan 11 '08 by: susikto
hi, I am getting this error when I am trying to connect the PSQL database. PHP Warning: pg_connect() : Unable to connect to PostgreSQL server: FATAL: user &quot;apache&quot; does not exist Can anyone tell me what the problem is? Regards susikta
1
1,490
thread by: priyaka | last post Jan 11 '08 by: ak1dnar
HI ! I have made a form which is containing some condition. such as if ($_POST && condition = true) (!!! Open action file !!!) else echo "Invalid username"; I can not open it on submit when condition is true.
0
1,061
thread by: cmk128 | last post Jan 11 '08 by: cmk128
Hi /root/pear>pear remote-list| grep -i text Image_Text -n/a- Text_Statistics 1.0 Text_Password 1.1.0 Text_Wiki 1.2.0 Text_Diff -n/a- Text_Highlighter -n/a-
3
1,330
thread by: =?windows-1256?B?x8jkIMfhzdHL?= | last post Jan 11 '08 by: Dikkie Dik
1) Who is the creator? (40:64) Allah, it is he Who has made for you the earth as a dwelling place and the sky as a canopy. and has given you shape and made your shapes good (looking) and has provided you with good things. That is Allah, your Lord: so Blessed be Allah, the Lord of the Alamin (mankind, jinn and all that exists).
3
1,176
thread by: rlm51 | last post Jan 11 '08 by: ak1dnar
I have a hit counter on my website that I wrote. I would like to filter out the ip address for our store to keep it from polluting a true record of outside hits. Is there a PHP or MYSQL system variable that records the ip address of the user so I could say something like: <?PHP if (ip_address == 'my_address') { $hits = $row_hits; } else {...
3
4,164
thread by: IanReardon | last post Jan 11 '08 by: NC
Is it possible to configure an external SMTP server to route all of your outgoing mail through on Linux? I know in php.ini there is a parameter, but it says its only for windows? Can I do this on Linux?
11
1,609
Countess Rayne
thread by: Countess Rayne | last post Jan 11 '08 by: Countess Rayne
I am really new to php, but I want to help my husband have a site where his football friends fill out a form and that form posts all their results on one page. I have the form and the results page, but I can't get each person's results on the same page. Here's the site: http://twilight-angel.net/vikings Click on NFL Pool Picks to see what I'm...
2
3,494
thread by: Unnamed | last post Jan 11 '08 by: Unnamed
Hello i have a PHP webpage that calls a python script via $cmd = "<filepath> $file $username $password"; echo $cmd; exec($cmd); the script executes correctly and does as its supposed to, however i am unable to view the messages the script prints to the screen (using the python 'print' command)
4
2,395
thread by: Rahul | last post Jan 11 '08 by: Manuel Lemos
Hello All, I have come accross a very interesting as well as a very complex scenario with my current project. My worry is the scheduling of email messages and execution of that based on the cron jobs. For this I am using cron .Suppose Cron is set to execute a file after every five minutes .It executes and returns all the details of scheduled...
1
2,028
thread by: seaside | last post Jan 11 '08 by: seaside
Hi, I'll probably release a php5-based LL(1) parser generator - if there is general interest. Please post a comment, in case... Some details: - Pure PHP5 - Parses LL(1) - Lexical definitions using regular expresions
13
21,515
thread by: camphor | last post Jan 10 '08 by: camphor
hi, would anyone know if there is a php script to Accept the Terms & Conditions. The customer must check the Terms & Conditions box before he/she is able to go to the next page. Not really sure what this script would come under thanks
0
1,105
thread by: Logos | last post Jan 10 '08 by: Logos
I'm taking a peek at PDT for use in development. However, I can't seem to create a project that uses a remote file system. I can switch to the RFE perspective and open files for editing that way, but that's a little tedious. Is it even possible to do what I want? Thanks for reading! Tyler
0
1,673
thread by: Mark Tempe | last post Jan 10 '08 by: Mark Tempe
Hello, I've been trying to get Polish characters in my pdf which is generated using dompdf class... Well, I've got them finally, but they aren't displayed correctly. I know that it is a problem with their width, and I've read that I can fix it using load_font.php and generating correct .afm files. Did anybody use it before? I am using this...
14
1,249
thread by: jools | last post Jan 10 '08 by: Michael Fesser
Just wondering what the simplest way to sort IP addresses would be Is there a good way to sort that keeps them in sequence asort() sorts on the first character so that doesnt quite do it of course -jools-
1
1,207
thread by: kofisarfo | last post Jan 10 '08 by: Jerry Stuckle
I know ASP pages are handled by ASP.dll so when I point my IE browser at an "ellowhatsthis.asp" file it gets handled by IIS - or at least it did before Vista but another story for another time - but what I want to know is how Mozilla is able to properly handle my "notsheermagic.php" script without my having done any configuration. It's a...
7
1,140
thread by: otrWalter | last post Jan 10 '08 by: Ivan Marsh
From time to time, like now, I get a job from one of my low volume clients (Ha! They're all low volume!) with a bit of a tight time line and I need an extra pair of hands to get the job done in the time frame they need, These guys are a low paying bunch,but they do pay (which is more than I can say about many "clients" I've had). The...
3
4,804
jlm699
thread by: jlm699 | last post Jan 10 '08 by: jlm699
On my site I have a file that I generate in /var/tmp so that the user can download it. The script is as follows: $file_path = '/var/tmp/up2606.csv'; header('Cache-Control: public, must-revalidate'); header('Pragma: hack'); header('Content-Type: application/vnd.ms-excel'); header('Content-Length: '.(string)(filesize($file_path)));...
1
3,922
thread by: praveenkrg | last post Jan 10 '08 by: nathj
I have a one combo box which display values from a table. But onchange i want the selected value in other text box. <? echo "<select name='selectpg'>\n"; echo "<option value='Select Group' selected>Select Group</option>"; $query = "SELECT t.gname FROM group AS t ORDER BY t.gname ASC"; $res = @mysql_query($query); while($row =...
1
5,359
thread by: nitinpatel1117 | last post Jan 10 '08 by: nitinpatel1117
Hi I have been trying to use the php exec and nslookup for DNS lookups on a windows platform. but whenever i execute the code i get the following error: Unable to fork I am pretty sure that the code i'm using is ok. I've come across a few sites that have said that the most probably answer is to set read + execute permissions on the...
2
1,306
beacon
thread by: beacon | last post Jan 10 '08 by: beacon
I'm a Computer Science student and I was introduced to PHP last semester by one of my professors while I was getting help with C++. He set me up with an account on the school's Apache server and instructed me to use Putty.exe to run Linux commands, CoreFTP for file transfers, and EditPlus to code my PHP/HTML. The problem is that he set most of...
5
1,667
thread by: fruityfreak | last post Jan 10 '08 by: Markus
What languages is this in??? <?php session_start(); require('db.php'); mysql_connect(MACHINE, USER, ''); mysql_select_db(DBNAME); //Obtaining session variables (From do_login.php)

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.