Re: [PHP] Help needed with php.ini

2011-06-06 Thread Joe Francis
I remember that there's 2 php.ini in Fedora, one is for SAPI like apache or other CGIServer, and another is for CLI. Can you confirm that you edited a right config file? On Mon, Jun 6, 2011 at 4:55 AM, Camilo Sperberg unrea...@gmail.com wrote: On 05-06-2011, at 10:31, Adam Tong

[PHP] Help needed with php.ini

2011-06-05 Thread Adam Tong
Hi, I can't set correctly the error display and reporting properties. I don't know what i'm doing wrong. Here is the section that i modified in php.ini: - display_errors = On ; Default Value: On ; Development Value: On ; Production Value: Off display_startup_errors = On ; Default

Re: [PHP] Help needed with php.ini

2011-06-05 Thread Richard Quadling
And here is the output of phpinfo(): - In the same phpinfo() output, what is the path/location of the php.ini file you are using? Loaded Configuration File D:\PHP\INI\php-cgi-fcgi.ini for example. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling :

Re: [PHP] Help needed with php.ini

2011-06-05 Thread Camilo Sperberg
On 05-06-2011, at 10:31, Adam Tong adam.to...@gmail.com wrote: Hi, I can't set correctly the error display and reporting properties. I don't know what i'm doing wrong. Here is the section that i modified in php.ini: - display_errors = On ; Default Value: On ; Development

Re: [PHP] Help needed with mysql import

2011-03-02 Thread Alex
You shouldn't have a default value in an auto increment field. You can set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a unique field and its automagically incremented, you should not set a default value on it... -- Sent from my Android phone with K-9 Mail. Please excuse my

Re: [PHP] Help needed with mysql import

2011-03-02 Thread Jim Lucas
On 3/2/2011 4:25 AM, Alex wrote: You shouldn't have a default value in an auto increment field. You can set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a unique field and its automagically incremented, you should not set a default value on it... This is fine and dandy

Re: [PHP] Help needed with mysql import

2011-03-02 Thread Jim Lucas
On 3/2/2011 9:48 AM, Ashley Sheridan wrote: Jim Lucas li...@cmsws.com wrote: On 3/2/2011 4:25 AM, Alex wrote: You shouldn't have a default value in an auto increment field. You can set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a unique field and its automagically

Fwd: [PHP] Help needed with mysql import

2011-03-02 Thread Ashim Kapoor
-- Forwarded message -- From: Ashim Kapoor ashimkap...@gmail.com Date: Thu, Mar 3, 2011 at 7:22 AM Subject: Re: [PHP] Help needed with mysql import To: Jim Lucas li...@cmsws.com CREATE TABLE IF NOT EXISTS `ajax_products` ( `id` int(11) NOT NULL auto_increment, `name` varchar

[PHP] Help needed with mysql import

2011-03-01 Thread Ashim Kapoor
Dear all, I am trying to make a website with php and I found the following code in a book and I am trying to import it. The following are the beginning of the file i am trying to import with the command mysql -u root -pmypassword certainty dump I get the following error : ERROR 1067 (42000) at

Re: [PHP] Help needed with mysql import

2011-03-01 Thread Thijs Lensselink
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/02/2011 07:56 AM, Ashim Kapoor wrote: Dear all, I am trying to make a website with php and I found the following code in a book and I am trying to import it. The following are the beginning of the file i am trying to import with the

[PHP] Help needed with calculation

2009-11-15 Thread Chris Payne
Hi everyone, I'm not sure of the correct formula for this, if I have a file - just for example, that is 10245458756 bytes long and the download speed is 60KB a second, what formula would I use to calculate how many seconds/minutes/hours it would take to download the file? Maths really isn't my

Re: [PHP] Help needed with calculation

2009-11-15 Thread Adam Shannon
If the download speed is constant (linear) then you can just use. (10245458756 / 6t)/1000 = kb/second or (10245458756 / 6t)/6 = kb/minute The general form would be. (size_of_file / download_speed * time) / convert_to_units Where t (or time) is the amount of seconds that the download

[PHP] PHP Help Needed

2008-12-27 Thread Ayemowa Toyin
Hi, I am new to PHP and require your help regarding a PHP Script.  Below is what I am tryin to achieve 1.  I have created a FILE UPLOAD page that lets users Upload a FIle to the site.  This and other details regarding the file stored in a MySQL Database. 2.  I need to create a FILE DOWNLOAD

Re: [PHP] PHP Help Needed

2008-12-27 Thread Ashley Sheridan
On Sat, 2008-12-27 at 07:47 -0800, Ayemowa Toyin wrote: Hi, I am new to PHP and require your help regarding a PHP Script. Below is what I am tryin to achieve 1. I have created a FILE UPLOAD page that lets users Upload a FIle to the site. This and other details regarding the file

Re: [PHP] PHP Help Needed

2008-12-27 Thread Dotan Cohen
2008/12/27 Ashley Sheridan a...@ashleysheridan.co.uk: RTFM http://www.php.net Or STFW http://justfuckinggoogleit.com/search?q=php%20mysql%20file%20download%20script -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

Re: [PHP] PHP Help Needed

2008-12-27 Thread Daniel Brown
On Sat, Dec 27, 2008 at 10:47, Ayemowa Toyin ayemowa_to...@yahoo.co.uk wrote: Hi, I am new to PHP and require your help regarding a PHP Script. Below is what I am tryin to achieve You require an RTFM and STFW session. * http://php.net/ * http://google.com/ 1. I have

Re: [PHP] PHP Help Needed

2008-12-27 Thread Dotan Cohen
2008/12/27 Daniel Brown danbr...@php.net: If you've already created the UPLOAD page, then the more difficult of the two tasks is done. Chances are, you (or whomever wrote the code for you) should know how to do #2 if you (or another) already did #1, but if not:

Re: [PHP] PHP Help Needed

2008-12-27 Thread John Corry
lol, Ashley! Ayemowa, http://www.google.com/search?q=becoming+a+programmerie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a You need to take your 2 steps below and break them down into smaller steps...and smaller steps...and still smaller steps. What PHP files will your

[PHP] help needed building php_dblib for PHP 5.2.5 on windows

2008-04-02 Thread Jason
Hi all, I have previously posted this on the windows specific list, however I believe this list reaches a wider audience so i'll try again. I am trying to recompile php 5.2.5 on win32, specifically trying to rebuild the freetds extension with the latest RC code from FreeTDS.org. I am

[PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
I downloaded a copy of PHP Version 5.2.3 and installed it on Windows 2003. Everything seems to work fine except for Curl. -- PHP Version 5.2.3 cURL support enabled cURL Information libcurl/7.16.0 OpenSSL/0.9.8e zlib/1.2.3 -- It keeps returning this error message. Reason 'CURL

RE: [PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 9:01 AM To: Bosky, Dave Cc: php-general@lists.php.net Subject: Re: [PHP] Help needed with Curl On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote: I downloaded a copy of PHP Version 5.2.3 and installed it on Windows 2003. Everything

Re: [PHP] Help needed with Curl

2007-07-24 Thread Daniel Brown
On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote: I downloaded a copy of PHP Version 5.2.3 and installed it on Windows 2003. Everything seems to work fine except for Curl. -- PHP Version 5.2.3 cURL support enabled cURL Information libcurl/7.16.0 OpenSSL/0.9.8e zlib/1.2.3 -- It keeps

Re: [PHP] Help needed with Curl

2007-07-24 Thread Daniel Brown
On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote: Yes. The script is the same on both machines. I can pull up a web browser and connect to the ssl url that I'm trying to connect using php/curl. The only DLLs I need to add are libeay.dll, ssleay32.dll, right? I'm running Windows 2003 Server with

Re[2]: [PHP] Help needed with Curl

2007-07-24 Thread Richard Davey
Hi Daniel, Tuesday, July 24, 2007, 2:34:06 PM, you wrote: In order to enable cURL on a Windows box, you have to copy libeay32.dll and ssleay32.dll from the DLL folder of the PHP/ binary package to the SYSTEM folder. (to be safe, you may want to do both C:\WINDOWS\SYSTEM\ and

Re: Re[2]: [PHP] Help needed with Curl

2007-07-24 Thread Daniel Brown
On 7/24/07, Richard Davey [EMAIL PROTECTED] wrote: *Never* put PHP DLLs into the Windows System folder. It's neither required, nor sensible. Keep them where they belong - in your PHP folder. Heh which is why I prefer to stick with what I know which is not so much with Windows

Re[4]: [PHP] Help needed with Curl

2007-07-24 Thread Richard Davey
Hi Daniel, Tuesday, July 24, 2007, 3:57:11 PM, you wrote: On 7/24/07, Richard Davey [EMAIL PROTECTED] wrote: *Never* put PHP DLLs into the Windows System folder. It's neither required, nor sensible. Keep them where they belong - in your PHP folder. Heh which is why I prefer to

Re: Re[4]: [PHP] Help needed with Curl

2007-07-24 Thread Daniel Brown
On 7/24/07, Richard Davey [EMAIL PROTECTED] wrote: Hi Daniel, Tuesday, July 24, 2007, 3:57:11 PM, you wrote: On 7/24/07, Richard Davey [EMAIL PROTECTED] wrote: *Never* put PHP DLLs into the Windows System folder. It's neither required, nor sensible. Keep them where they belong - in your

RE: Re[2]: [PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
: Tuesday, July 24, 2007 10:56 AM To: Daniel Brown Cc: Bosky, Dave; php-general@lists.php.net Subject: Re[2]: [PHP] Help needed with Curl Hi Daniel, Tuesday, July 24, 2007, 2:34:06 PM, you wrote: In order to enable cURL on a Windows box, you have to copy libeay32.dll and ssleay32.dll from the DLL

Re[4]: [PHP] Help needed with Curl

2007-07-24 Thread Richard Davey
Hi Dave, Tuesday, July 24, 2007, 4:45:13 PM, you wrote: No I don't have a local certificate created. I'm only need to do a post using xml-rpc and I have SSLVerifyPeer turned off. This turns off client certificate authentication $xmlrpc_client-setSSLVerifyPeer(0); What does your PHP error

Re: [PHP] help needed to write an installation script for my php application

2007-04-24 Thread Tijnema !
On 4/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi There, Could you please help me to write an installation script to install a php based application in Windows. 1. I have WAMP5.0 running my my IBM T43 laptop. 2. I have created a php application. 3. I would like to know how to create

Re: [PHP] help needed to write an installation script for my php application

2007-04-24 Thread Richard Lynch
On Mon, April 23, 2007 7:36 am, [EMAIL PROTECTED] wrote: Could you please help me to write an installation script to install a php based application in Windows. 1. I have WAMP5.0 running my my IBM T43 laptop. 2. I have created a php application. 3. I would like to know how to create an

[PHP] help needed to write an installation script for my php application

2007-04-23 Thread guruswamy.gurusamy
Hi There, Could you please help me to write an installation script to install a php based application in Windows. 1. I have WAMP5.0 running my my IBM T43 laptop. 2. I have created a php application. 3. I would like to know how to create an installation Wizard for my application. What it

Re: [PHP] help needed to write an installation script for my php application

2007-04-23 Thread Ed Oceo
On Mon, April 23, 2007 5:36 am, [EMAIL PROTECTED] wrote: Hi There, Could you please help me to write an installation script to install a php based application in Windows. NSIS, nullsoft installer is a nice installer to use for Windows applications. http://nsis.sourceforge.net/Main_Page --

[PHP] help needed with pager

2006-05-25 Thread Ross
http://scottishsocialnetworks.org/editor.php http://scottishsocialnetworks.org/editor.phps the pager in this page works except try and choose aberdeen from the area dropdown. You should get 18 answers which is fine except when page 2 is pressed at the bottom the query seems to be scrubbed and

Re: [PHP] help needed with pager

2006-05-25 Thread Rabin Vincent
On 5/25/06, Ross [EMAIL PROTECTED] wrote: http://scottishsocialnetworks.org/editor.php http://scottishsocialnetworks.org/editor.phps the pager in this page works except try and choose aberdeen from the area dropdown. You should get 18 answers which is fine except when page 2 is pressed at the

[PHP] Help needed / failed to open stream: Permission denied

2005-10-19 Thread Ndagi Mutiri
Hello, Trying to read a binary file in MySQL database, i have the following error : Warning: fopen(./) [function.fopen]: failed to open stream: Permission denied in d:\...\download.php on line 57 This is line 57 $file_handle = fopen(./ . $file_name, r); and my function function

RE: [PHP] Help needed / failed to open stream: Permission denied

2005-10-19 Thread Jim Moseby
Hello, Trying to read a binary file in MySQL database, i have the following error : Warning: fopen(./) [function.fopen]: failed to open stream: Permission denied in d:\...\download.php on line 57 This is line 57 $file_handle = fopen(./ . $file_name, r); and my function

Re: [PHP] Help needed / failed to open stream: Permission denied

2005-10-19 Thread Jochem Maas
Ndagi Mutiri wrote: Hello, I can't be of any help here but couldn't help noticing that th OP (Ndagi) is dealing with dutch language DB entities and comments/output in french and code (vars etc) in english bet that can be a PITA :-) Trying to read a binary file in MySQL database, i

[PHP] Help Needed

2005-08-26 Thread David Skyers
I have an annoying problem, I'm trying to write a simple PHP page that says if a record is found in an Oracle database display 'Data Found' else display 'No Data Found' but it does not seem to be working. ?php require(../passit.php); $stmt = OCIParse(select UPI, ORG from WEB_DS where REC_VALUE

Re: [PHP] Help Needed

2005-08-26 Thread Raz
David but it does not seem to be working. Might be helpful for folks if you describe the nature of the fault i.e. what you get back when you run this - at this stage there are a multitude of possibilities... raz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Help Needed

2005-08-26 Thread David Skyers
Hi Raz Good Point. It displays 'No data found' when it should display 'Data found' Thanks David -Original Message- From: Raz [mailto:[EMAIL PROTECTED] Sent: 26 August 2005 12:06 To: David Skyers Cc: php-general@lists.php.net Subject: Re: [PHP] Help Needed David but it does not seem

Re: [PHP] Help Needed

2005-08-26 Thread Raz
Leading back in the code, that would suggest that $nrows is not greater than zero - could be a problem with $nrows then, and anything associated with that, i.e. $stmt, whether there is content in the db where REC_VALUE = 'uczmdsk1' etc. etc. Work back down the chain and see if you can find

Re: [PHP] Help Needed

2005-08-26 Thread Angelo Zanetti
does the actual SQL statement bring back any info if you do it through the oracle interface, perhaps the problem isnt php but the SQL statement. HTH Angelo Raz wrote: Leading back in the code, that would suggest that $nrows is not greater than zero - could be a problem with $nrows then, and

RE: [PHP] Help Needed

2005-08-26 Thread David Skyers
] Sent: 26 August 2005 13:14 To: Raz Cc: David Skyers; php-general@lists.php.net Subject: Re: [PHP] Help Needed does the actual SQL statement bring back any info if you do it through the oracle interface, perhaps the problem isnt php but the SQL statement. HTH Angelo Raz wrote: Leading back

Re: [PHP] Help Needed

2005-08-26 Thread Raz
David, If I change the code to ($nrows = 1) then it displays 'Data found', however if I have a REC_VALUE = 'does not exist' it still displays 'Data found' That would suggest that something is being returned - do you have command line access or some other way to look at what is being

[PHP] Help needed in changing row color

2005-07-26 Thread suma parakala
Hi I am retrieving data from postgresql and displaying it in form of table in different rows. my problem is when check box is clicked i need to change the color of the row .agai when the check box is unclicked it should hold the old color. Can any one please help me Thanks regards Suma

Re: [PHP] Help needed in changing row color

2005-07-26 Thread Dotan Cohen
On 7/26/05, suma parakala [EMAIL PROTECTED] wrote: Hi I am retrieving data from postgresql and displaying it in form of table in different rows. my problem is when check box is clicked i need to change the color of the row .agai when the check box is unclicked it should hold the old color.

Re: [PHP] Help needed in changing row color

2005-07-26 Thread Burhan Khalid
suma parakala wrote: Hi I am retrieving data from postgresql and displaying it in form of table in different rows. my problem is when check box is clicked i need to change the color of the row .agai when the check box is unclicked it should hold the old color. Can any one please help me

RE: [PHP] help needed on imagettftext()

2005-01-28 Thread Harish Rao K
Hi Marek Kilimajer, Thank You Marek it worked for me also. -Harish Rao K -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 9:19 PM To: Harish Rao K Cc: php-general@lists.php.net Subject: Re: [PHP] help needed on imagettftext() Harish

[PHP] help needed on imagettftext()

2005-01-27 Thread Harish Rao K
Hello, While working with some CAPTCHA stuff I get the following error: Fatal error: Call to undefined function imagettftext(). I have compiled with GD support and all the supporting libraries (Freetype, TTF, jpeg, X11R6 etc). What am I missing? Below is the configure command that I have used.

Re: [PHP] help needed on imagettftext()

2005-01-27 Thread Marek Kilimajer
Harish Rao K wrote: Hello, While working with some CAPTCHA stuff I get the following error: Fatal error: Call to undefined function imagettftext(). I have compiled with GD support and all the supporting libraries (Freetype, TTF, jpeg, X11R6 etc). What am I missing? Below is the configure command

Re: [PHP] help needed on imagettftext()

2005-01-27 Thread Richard Lynch
Harish Rao K wrote: While working with some CAPTCHA stuff I get the following error: Fatal error: Call to undefined function imagettftext(). I have compiled with GD support and all the supporting libraries (Freetype, TTF, jpeg, X11R6 etc). What am I missing? Check the log files from in the

Re: [PHP] Help needed on php/mysql

2004-11-02 Thread Garth Hapgood - Strickland
Well my page doesnt have any of the spoken about elements on it yet, because I am not clear as to go about it. The fields I speak of are things that need to be added extra to my page. Here is my pages code so far... ?php require('includes/application_top.php');

Re: [PHP] Help needed on php/mysql

2004-11-02 Thread Lists
Hmmm...I'm not sure I'm following you. You just want to know how to deal with multiple drop down lists? Or do you want to be able to check and make sure all the mandatory selections have been chosen? -dg http://www.rexruff.com On Nov 2, 2004, at 4:58 AM, Garth Hapgood - Strickland wrote:

Re: [PHP] Help needed on php/mysql {Scanned}

2004-11-02 Thread Garth Hapgood - Strickland
As you can see from my code, I do want to check if all mandatory fields are selected or filled in. As well as the issue of the communicationtyes. SO far I do not have fields or anything for the user to use, to select the different CommunicationTypes he wants. I am not sure how to go about this

[PHP] Help needed on php/mysql

2004-11-01 Thread Garth Hapgood - Strickland
I have written a registration page in php and have a number of edit boxes and drop-down lists. The lists are pulling data out of their respective tables, whereas the edit boxes are just for saving data. Now my main table where all my data is being saved is called Business. Onto this I have a

Re: [PHP] Help needed on php/mysql

2004-11-01 Thread Lists
Seeing the page might help. On Nov 1, 2004, at 2:52 AM, Garth Hapgood - Strickland wrote: I have written a registration page in php and have a number of edit boxes and drop-down lists. The lists are pulling data out of their respective tables, whereas the edit boxes are just for saving data. Now

[PHP] Help needed

2004-10-29 Thread suma parakala
Hi I developed a html form in which I have text box and combo box. Now my problem is I have to pass the values of this page to another page. How can i pass the values/variables to next page using href Kindly help me Thanks Suma

Re: [PHP] Help needed

2004-10-29 Thread Greg Donald
On Fri, 29 Oct 2004 15:22:29 +0530, suma parakala [EMAIL PROTECTED] wrote: I developed a html form in which I have text box and combo box. Now my problem is I have to pass the values of this page to another page. How can i pass the values/variables to next page using href Kindly help me

RE: [PHP] Help needed

2004-10-29 Thread Graham Cossey
Hi I developed a html form in which I have text box and combo box. Now my problem is I have to pass the values of this page to another page. How can i pass the values/variables to next page using href Kindly help me Thanks Suma As you've posted to a PHP list I will assume your

[PHP] Help needed Postgresql and PHP

2004-10-05 Thread suma parakala
Hi I am developing an application using php and postgresql . My problem is I need to retrieve name and addresses from table(postgres sql table) and print letter (body of letter will be same). Kindly help /Suggest how i can do this Thanks Suma

RE: [PHP] Help needed Postgresql and PHP

2004-10-05 Thread Warren Vail
- From: suma parakala [mailto:[EMAIL PROTECTED] Sent: Monday, October 04, 2004 11:23 PM To: [EMAIL PROTECTED] Subject: [PHP] Help needed Postgresql and PHP Hi I am developing an application using php and postgresql . My problem is I need to retrieve name and addresses from table(postgres sql

[PHP] Help needed

2004-07-02 Thread Ingrid Angelin
Hi, I am completely new to PHP and would need some help. I have just opened a site for my manufaturing business and would like to create a section where each of my clients get their own account in which they can login and check the status of their order. For this I would need a script for

Re: [PHP] help needed with tiger tree hashes

2004-06-06 Thread Carl S. in 't Veld
Ah yes! Thanks, I see the problem; I have to switch the 8-byte chunks in byte-order! (Why is Directconnect doing this...) Thanks for your help. Greetings, Carl. Thijs Lensselink [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] check:

RE: [PHP] help needed with tiger tree hashes

2004-06-04 Thread Thijs Lensselink
check: http://www.cs.technion.ac.il/~biham/Reports/Tiger/testresults.html The results you posted seem to be right. Carl S. in 't Veld wrote on vrijdag 4 juni 2004 0:52: I am trying to generate tiger tree hashes the same way as directconnect does, but I am failing. I checked the output from

[PHP] help needed with tiger tree hashes

2004-06-03 Thread Carl S. in 't Veld
I am trying to generate tiger tree hashes the same way as directconnect does, but I am failing. I checked the output from php with the reference vectors from http://www.cs.technion.ac.il/~biham...ssie-format.dat and they appear to be different! echo bin2hex(mhash(MHASH_TIGER, 'abc')).br/\n;

[PHP] help needed to install php on my xp home edition pc

2004-02-20 Thread danny cobbinah
i have installed apache 2 and mysql 3 on my pc (running xp home) i have installed php 4.3.4 but have hit a snag. the php doesnt seem to gel with apache at all. any help please? how do i configure apache and php to mix? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] HELP NEEDED PLEASE - IMAP, MySQL and PHP

2003-12-28 Thread Vernon
Hello all, I have been struggling for some time now to develop or find some product that will allow me to scan documents (I have that part down no problem, using OMNIPAGE 14.0) and put then into a searchable database with a copy of it in some form that is readable like a formatted txt file. I am

[PHP] Help needed - Dynamically Zip Files Sub-Directories

2003-10-14 Thread TWSC HQ
Hi everybody - What is wrong with this php zip class (file : phpzip.inc.php)? I've got this code on one page: require(phpzip.inc.php); $z = new PHPZip(); $z - Zip(directory_name/, out.zip); where all files and sub-directories + files should be zipped into the zip file called out.zip trouble

[PHP] help needed with this mcal script

2003-08-21 Thread Sn!per
the output of this short mcal-php script is 0. and the no /var/calendar/[EMAIL PROTECTED] mcal file was created. appreciate some advise. ?php $year = 2003; $month = 8; $day = 21; $description = the description; $category = 2; $title = the title; $stream=mcal_open({/mstore}[EMAIL

[PHP] Help needed

2003-06-30 Thread Nirmala P
Hi All, I am new to PHP world. Could any body tell me how to call any function(written in PHP) from Java script. Actually my PHP function return a string value which i need to access in my java script code. Thanks in Advance.. Nirmala ___

[PHP] Help needed

2003-06-30 Thread Nirmala P
Hi All, I am new to PHP world. Could any body tell me how to call any function(written in PHP) from Java script. Actually my PHP function return a string value which i need to access in my java script code. Thanks in Advance.. Nirmala ___

Re: [PHP] Help needed

2003-06-30 Thread Haseeb
, June 30, 2003 10:45 AM Subject: [PHP] Help needed Hi All, I am new to PHP world. Could any body tell me how to call any function(written in PHP) from Java script. Actually my PHP function return a string value which i need to access in my java script code. Thanks in Advance

[PHP] Help needed

2003-06-30 Thread Nirmala P
Hi list, This time i am pasting my code could any body tell where wrong I am ? ? function LangItem($field,$lang) { $db = mysql_connect(localhost, root); /*Check For Connection to local host*/ if(!$db) echo(Connect to localhost mysql database failed);

[PHP] Help needed

2003-06-18 Thread Shishir Kumar Mishra
Hi List, Is it possible to read XML data and return as string to browser (as string)? I do have css file but I need to get data from database and create a XML string (with the css file). This xml string has to be returned in browser(I.E.) rather than as XML file. regards.. Shishir Kumar

[PHP] Help needed

2003-04-01 Thread Andy
Hi all Can someone help? I am new to PHP and need some help, i have tried to build a members only section to my website but i am finding it very hard. I get this error when i go to the login page: Parse error: parse error in /home/.sites/112/site***/web/Members/Login.php on line 201 But the

RE: [PHP] Help needed

2003-04-01 Thread Clint Tredway
Please post more of your code. It is difficult for us to help you without seeing your code. Clint -Original Message- From: Andy [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 8:17 AM To: [EMAIL PROTECTED] Subject: [PHP] Help needed Hi all Can someone help? I am new to PHP

RE: [PHP] Help needed

2003-04-01 Thread Mike Brum
- they're an amazingly useful tool, but it's only a machine and is forced by a set of rules. -Mike -Original Message- From: Andy [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 9:17 AM To: [EMAIL PROTECTED] Subject: [PHP] Help needed Hi all Can someone help? I am new to PHP

Re: [PHP] Help needed

2003-04-01 Thread Andy
] Subject: [PHP] Help needed Hi all Can someone help? I am new to PHP and need some help, i have tried to build a members only section to my website but i am finding it very hard. I get this error when i go to the login page: Parse error: parse error in /home/.sites/112/site***/web/Members

Re: [PHP] Help needed

2003-04-01 Thread Chris Hayes
At 16:17 1-4-03, you wrote: Hi all Can someone help? I am new to PHP and need some help, i have tried to build a members only section to my website but i am finding it very hard. I get this error when i go to the login page: Parse error: parse error in

Re: [PHP] Help needed

2003-04-01 Thread Chris Hayes
I would suppose that you have an unbalanced {} somewhere. Restructure your code (yes, even more!) so it is easier to see such a mistake. Some coders prefer this: if () { code } but i prefer if () { code } so i see immediately what {braces} belong together.

Re: [PHP] Help needed

2003-04-01 Thread Ernest E Vogelsinger
At 16:27 01.04.2003, Andy spoke out and said: [snip] Hi Clint OK hope this is not too much and there are likely to be more errors in it. Thank you Andy [snip] At the line if ($num == 1) // login name was found

Re: [PHP] Help needed

2003-04-01 Thread Andy
[mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 8:17 AM To: [EMAIL PROTECTED] Subject: [PHP] Help needed Hi all Can someone help? I am new to PHP and need some help, i have tried to build a members only section to my website but i am finding it very hard. I get this error when i go

Re: [PHP] Help needed

2003-04-01 Thread Andy
Thank you Ernest I am a little confused with the closing curly bracket after $message_new = $phone is not a valid phone number etc which one should i delete? } if (!ereg(^[0-9)(xX -]{7,20}$,$phone)) { unset($do); $message_new = $phone is not a valid phone number.

Re: [PHP] Help needed

2003-04-01 Thread Chris Hayes
At 17:17 1-4-03, you wrote: Thank you Ernest I am a little confused with the closing curly bracket after $message_new = $phone is not a valid phone number etc there are two, and there is nothing inbetween, so technicaly it does not matter to the PHP interpreter. -- PHP General Mailing List

Re: [PHP] Help needed

2003-04-01 Thread J.Veenhuijsen
more of your code. It is difficult for us to help you without seeing your code. Clint -Original Message- From: Andy [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 8:17 AM To: [EMAIL PROTECTED] Subject: [PHP] Help needed Hi all Can someone help? I am new to PHP and need some help

Re: [PHP] Help needed

2003-04-01 Thread Ernest E Vogelsinger
At 17:17 01.04.2003, Andy spoke out and said: [snip] Thank you Ernest I am a little confused with the closing curly bracket after $message_new = $phone is not a valid phone number etc which one should i delete? } if (!ereg(^[0-9)(xX

[PHP] Help Needed

2003-03-10 Thread Pushpinder Singh Garcha
Hey All My Php App is trying to fopen() and fread() a File that is located in the Web Server. This works if the file is a simple html file. However the complicated part is that the file is not displayed correctly i.e. it has missing gifs if, it was created using Fireworks and then

RE: [PHP] Help Needed

2003-03-10 Thread Michael Roger C. Bianan
PROTECTED] Subject: [PHP] Help Needed Hey All My Php App is trying to fopen() and fread() a File that is located in the Web Server. This works if the file is a simple html file. However the complicated part is that the file is not displayed correctly i.e. it has missing gifs if, it was created

Re: [PHP] Help Needed

2003-03-10 Thread Pushpinder Singh Garcha
: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 1:45 PM To: [EMAIL PROTECTED] Subject: [PHP] Help Needed Hey All My Php App is trying to fopen() and fread() a File that is located in the Web Server. This works if the file is a simple html file. However the complicated

RE: [PHP] Help Needed

2003-03-10 Thread Michael Roger C. Bianan
] Sent: Monday, March 10, 2003 2:13 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Help Needed Thanks for the prompt reply Michael I am trying to protect files on the site, my script checks for a valid session ID and fopens() a File. This file is located in a different Dir from

[PHP] help needed with code!!

2003-03-10 Thread Karl James
Can anyone give me some pointers on why im note seeing Any output to the browser. Thanks Karl my link http://66.12.3.67/webdb/webdb13/assignment_1.php my code http://nopaste.php-q.net/7560 ultimatefootballleague.com/index.php [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] help needed with code!!

2003-03-10 Thread Hugh Danaher
You might try changing ? to ?php and ? to php? something about short tags hugh - Original Message - From: Karl James [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 10, 2003 10:14 PM Subject: [PHP] help needed with code!! Can anyone give me some pointers on why im note

[PHP] Help Needed

2003-03-06 Thread Pushpinder Singh Garcha
Hello All I am writing again with reference to my dir Protection PHP script. The scenario is explained below. Whenever a user clicks a particular URL, it triggers a php file which first checks if the user's session exists or not. If the user's session exists, it should fopen() the particular

Re: [PHP] Help needed - move_uploaded_file

2003-02-24 Thread David T-G
Hi! ...and then Fat Lizard said... % % Hi, % I'm trying to use move_uploaded_file, but so far with no success, no matter % what I try. Do you have register_globals turned on? Did you really use input name='userfile' in your form code? Are you sure that $userfile has a value? What is it?

[PHP] Help needed - please check site

2003-02-24 Thread Paul Godard
Hi I am very new to dynamic web site (I am using GoLive6 on Mac together with php mySQL) and I am very confused about variables. I would appreciate your feedback on my first dynamic site http://www.vergelegen.co.za (Media section - login test - password test). 1/ There are quite a few

[PHP] Help needed - move_uploaded_file

2003-02-23 Thread Fat Lizard
Hi, I'm trying to use move_uploaded_file, but so far with no success, no matter what I try. The file info. is loaded from a form via POST. Here's the snippet that get's called: : case(add_image): $res = mysql_query(select allowed_imgs,max_image_size,files_umask from .$table_prefix.flags);

[PHP] Help needed for submitting multiple files!

2003-02-10 Thread Geckodeep
I am building a page that submits an article with 9 jpgs images of 45 to 60ko in size. I got it working with no problems for two to three files, until when I tested with all nine images I saw the real problem, that wouldn't uploaded it. When I consulted with my service provider they said they

[PHP] Help Needed

2003-02-04 Thread Pushpinder Singh Garcha
Hello All: My question is related to authentication. I have made a login system using PHP Sessions and MySQL. Once the user gets authenticated on the website I want to be able to allow him to see some html pages on the website. Only users who have logged in are able to see such a files. I

Re: [PHP] Help Needed

2003-02-04 Thread Philip Olson
[snip] How should I display the page ... the page has a lot of html code and trying to write echoblah blah blah . ; will not be a an option. Please suggest a way out . Use includes: http://www.php.net/include And write HTML as HTML: h3Greetings/h3 pHello b?php echo $username

  1   2   >