[PHP] need help on Installation over Linux/apache/mysql
Hi : I tried to Install Apache1.3x/PHP4.0x/Mysql on Linux 6.1 I followed exact steps described in http://www.e-gineer.com/instructions/install-php4x-for-apache1xx-on-linux.phtml Apache/mysql installed and tested successfully, but when I tried to install php with mysql option it shows that installation was successful, but when I tried to start the apache, I had noticed that httpd itself is deleted from /bin folder. I had repeated all the above steps from second time onwards when I tried to install php over apache with mysql option, (to be precise when I tried to execute the command make) it generate 2 errors. And I tried to continue the following steps I got the message says that php installation successful still my php files opening on note pad. I have no clue about this error, it will be help full if any one can point out where I went wrong. Also I am new to Linux, should I move to latest version of Linux, any suggestion about the stable platform/version of software combination are welcome Thanks in advance prad __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Help Need in PHP File Upload
Hi: I need to upload a file during form submittion, I had done all the coding on my local Linux box It work fine over here. When i moved the code to my Client machine File upload is not working well. Server side code first check where file upload is successful by is_uploaded_file($HTTP_POST_FILES['file']['tmp_name']) method, if it is True it will copy it to the destination folder. Once i hosted this code on my clients machine First attempt will work successfully, it will copy the file into the destnation folder. But when i tries to repeat the form submission process, from second time onwards unsuccessful. I am programmatically creating new folder each time so there is no chance of over writing issues. Whe i checked the code more care fully, Function is_uploaded_file($HTTP_POST_FILES['file']['tmp_name']) returns False I am quite new to Linux env. Is it due to some sought of permission issue? Or due to Version problem. I am using Php4.0.3 on my local Linux Box and 4.2.3 on Clients machine. I also tested this code on window's Apache/php4.2.3 It works fine over windows . If anybody can point out the error will be a great Help for me.. Thanks in advance Prad __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] How to find future date?
Hi All: I like to know is there any metrhod to find future date ( for example 15 days from the today [sys date]). Basically i am looking for a method equivalent to datediff or dateadd in asp. I hope PHP will have some thing corresponding to this, I will really appricate u r help, thanks in advance Prad __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to find future date?
Thank you all both mktime and strtotime () will achive the goal, thank again Prad --- 1LT John W. Holmes [EMAIL PROTECTED] wrote: Take a look at mktime() www.php.net/mktime ---John Holmes... - Original Message - From: ppf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 30, 2002 4:01 PM Subject: [PHP] How to find future date? Hi All: I like to know is there any metrhod to find future date ( for example 15 days from the today [sys date]). Basically i am looking for a method equivalent to datediff or dateadd in asp. I hope PHP will have some thing corresponding to this, I will really appricate u r help, thanks in advance Prad __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] date validation problem!
Hi all: I am having some problem with date validation I am trying to validate the date in a form Field I had provided a text field for date, so have to expect all the different possible entry, When i tried with checkdate() method it needs the parametes in (int month,int date, int year). It make the code more complex , What i am looking is some thing similar to is_int(), like the one we have in VB isdate() thanks in advance Prad __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] explode didn't work well
Hi all: I had tried to split the string into an array of string using explode but the result isn't displaying anything I tried the example from document its its not showing anything, pls point out where i went wrong ** $pizaa=piece1 piece2 piece3 piece4 piece5 piece6; $pieces = explode(' ', $pizza); echo $pizaa; echo ($pieces [2]); Thanks in advance Prad __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Check box with same name
Hi all: I am having a problem in accessing form data from multiple check box of same name with different values, like this input type=checkbox name=searchStr value=Where Where/td td width=40%nbsp;nbsp; input type=checkbox name=searchStr value=would would/td td width=40%nbsp;nbsp; input type=checkbox name=searchStr value=Luluk, Luluk,/td /trtr td width=40%nbsp;nbsp; input type=checkbox name=searchStr value=Indonesian Indonesian/td td width=40%nbsp;nbsp; ons,/td How can i access these multiple selected value in same name? I am trying to move my asp code to PHP, Thanks in advance Prad __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] To Move Recordset back to initial position
Hi All: I am having a problem in MySQL records,If i used the record set once and later on if i want to use the same record set in some oteher place in the same page its behive like an empty recordset, I want to know is there any method to (recordset.moveFirst or some thing) move the cursor towards the initial position? Thanks in advance Prad __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Need Help in installation of PHP, appache and MySQL on Linux
Hi All: I got php/mysql/appache on my windows machine, it works fine Now i have to install appache/php/mysql on Linux 6.1 red hat. I had searched the php.net for intallation document, but it didn't have much detailed description. I am new to Linux also, if u guys know some URL or doc pls let me know Thanks in advance Pradeep __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Padding problem with \ and
Hi all: Iam trying to generate a string which contain real path to a perticular folder to copy the uploaded file I might move this application to client machine, so i decised to generate the string dynamically when i try to concatnate the realpath() value and the destination path like this $real_Path=realpath(../../Index.php); $real_path= $real_path.\defaultFolder\SubFolder\; it generate an error, I don't know how to escape/padd for this and \ charectors. I hope you guys can help me to solve this issue I really appreciate your help Thanks Prad __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Need Help in escaping and\
Hi All: I am trying to generate the directory path dynamically to save the Uploaded file. when i try to concatnate the string with\ it generate an error, Hope you guys can help me in this here is the code $real_Path=realpath(../../index.php); $real_path=$real_path.\DefaultFld\SubFld\; Here is generate error, I don't know how to escape the and \ . I will appreciate your help Thanks in advance Prad __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php