[PHP] help with code not wrking

2007-10-24 Thread Joey
Hi all, I have inherited a problem script from a client, and it's a simple upload function. The problem is that while the image is being uploaded and saved as the same name it was uploaded as, it's not writing to the table the file name for display reference so it's like there is no picture.

RE: [PHP] help with code not wrking

2007-10-24 Thread Instruct ICC
From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Wed, 24 Oct 2007 15:27:28 -0400 Subject: [PHP] help with code not wrking Hi all, I have inherited a problem script from a client, and it's a simple upload function. The problem is that while the image is being

[PHP] HELP!! how can arithmetic variables(string) ??

2007-10-18 Thread LKSunny
? $a=1+1; //variables(string) //how can arithmetic variables(string) ?? //N ROW //output echo $a //i need output 2 not 1+1 //Please Help, Thank You Very Much !! ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HELP!! how can arithmetic variables(string) ??

2007-10-18 Thread Nathan Nobbe
On 10/18/07, LKSunny [EMAIL PROTECTED] wrote: ? $a=1+1; //variables(string) //how can arithmetic variables(string) ?? //N ROW //output echo $a //i need output 2 not 1+1 //Please Help, Thank You Very Much !! ? $a = 1+1; echo $a; -nathan

[PHP] Help with php and this part of the code...?

2007-09-09 Thread dekemcaffee
Ok here is the code below, I need to know what I need to change in this code for it to be able to be a clickable link... I have many layouts and want to add more but with so many pages, its a bit hard to go through 49 pages just to add one page. I already submitted this problem to

Re: [PHP] help with session

2007-08-31 Thread Dan
You should be sanatizing code here. When you save it to the session and when it's output. Look arround the newsgroups or online for info about it, it's everywhere. - Dan mike [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 8/26/07, Jason Cartledge [EMAIL PROTECTED] wrote: I

[PHP] help with session

2007-08-26 Thread Jason Cartledge
Hi, this is my first post to this newsgroup. Does this code look ok or is there a more clean way of doing this? I am learning. Thank you for reading. Jason if ( !empty($_REQUEST['gender']) ) { $registrationGender=$_REQUEST['gender']; } else {

Re: [PHP] help with session

2007-08-26 Thread mike
On 8/26/07, Jason Cartledge [EMAIL PROTECTED] wrote: I would replace $_REQUEST with $_GET or $_POST (as appropriate) if ( !empty($_REQUEST['gender']) ) { $registrationGender=$_REQUEST['gender']; } else { Personally I would use

Re: [PHP] help with session

2007-08-26 Thread Wouter van Vliet / Interpotential
I would go for: if (isset($_REQUEST['gender'])) $_SESSION['registrationGender'] = $_REQUEST['gender']; print isset($_SESSION['registrationGender']) ? You are registered as gender: .$_SESSION['registrationGender'] : Your gender is unknown; And make no assumptions about a gender when you

Re: [PHP] help with ming library

2007-08-10 Thread Stut
Diana wrote: How do I install the ming library on windows?? I copied the php_ming.dll that I had on another computer and enabled this line in php.ini extension=php_ming.dll but I still get that error Call to undefined function Ming_setScale() Have you restarted your web server (Apache, IIS,

[PHP] help with ming library

2007-08-10 Thread Diana
How do I install the ming library on windows?? I copied the php_ming.dll that I had on another computer and enabled this line in php.ini extension=php_ming.dll but I still get that error Call to undefined function Ming_setScale() -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] help with ming library

2007-08-10 Thread Richard Lynch
On Fri, August 10, 2007 6:24 am, Diana wrote: How do I install the ming library on windows?? I copied the php_ming.dll that I had on another computer and enabled this line in php.ini extension=php_ming.dll but I still get that error Call to undefined function Ming_setScale() There are

Re: [PHP] HELP: Text editor that deals with BOM very well

2007-07-27 Thread brian
Chris wrote: Ryan Lao wrote: Hello everyone, Just need to ask a simple question, where can a find a text editor that deals with byte order mark very well? I've been using dreamweaver for a few years now but im not impressed by how it deals with BOM. i need a text editor that can view a bom

[PHP] HELP: Text editor that deals with BOM very well

2007-07-26 Thread Ryan Lao
Hello everyone, Just need to ask a simple question, where can a find a text editor that deals with byte order mark very well? I've been using dreamweaver for a few years now but im not impressed by how it deals with BOM. i need a text editor that can view a bom and can remove it from the file

Re: [PHP] HELP: Text editor that deals with BOM very well

2007-07-26 Thread Chris
Ryan Lao wrote: Hello everyone, Just need to ask a simple question, where can a find a text editor that deals with byte order mark very well? I've been using dreamweaver for a few years now but im not impressed by how it deals with BOM. i need a text editor that can view a bom and can remove

[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 setting up php

2007-07-13 Thread Richard Lynch
On Thu, July 12, 2007 8:25 am, Karl Schmitt wrote: Can someone please help me? I am new to installing and working with php and webservers. I am using IIS 6. I can not get php to load the ini file. This line: Configuration File (php.ini) Path C:\WINDOWS tells you that PHP *looked*

Re: [PHP] Help setting up php

2007-07-13 Thread Joker7
In news: [EMAIL PROTECTED] - Richard Lynch wrote : On Thu, July 12, 2007 8:25 am, Karl Schmitt wrote: Can someone please help me? I am new to installing and working with php and webservers. I am using IIS 6. I can not get php to load the ini file. This line: Configuration File

[PHP] Help setting up php

2007-07-12 Thread Karl Schmitt
Can someone please help me? I am new to installing and working with php and webservers. I am using IIS 6. I can not get php to load the ini file. I have followed multiple guides including those listed on the install pages and even went back and let the installer run, which changed

Re: [PHP] Help setting up php

2007-07-12 Thread Robert Cummings
On Thu, 2007-07-12 at 09:25 -0400, Karl Schmitt wrote: Can someone please help me? I am new to installing and working with php and webservers. I am using IIS 6. I can not get php to load the ini file. Your webserver is looking for it here: C:\WINDOWS\php.ini Is it there? Cheers,

[PHP] Help with HttpRequest -- avoiding 417s from Lighttpd

2007-07-05 Thread Ben Blank
Is there a way to prevent HttpRequest (from the pecl_http extension) from using an Expect: 100-continue on large POSTs? I've a script which needs to submit pages to a host running Lighttpd v1.4, which does not support section 8.2.3 of the HTTP/1.1 spec and so always returns a 417 Expectation

RE: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-30 Thread Brian Seymour
Patrick, did you trying going to http://www.php.net/unsub.php yet? =D Brian Seymour AeroCoreProductions http://www.aerocore.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-30 Thread Daniel Brown
On 6/30/07, Brian Seymour [EMAIL PROTECTED] wrote: Patrick, did you trying going to http://www.php.net/unsub.php yet? =D Brian Seymour AeroCoreProductions http://www.aerocore.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HELP - I have tried to unsubscribe from this list mutiple times but cannot.

2007-06-29 Thread -Patrick
I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? TIA -Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HELP - I have tried to unsubscribe from this list mutiple times but cannot.

2007-06-29 Thread Paul Scott
On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this list to unsubscribe --Paul All Email originating from UWC is covered by disclaimer

Re: [PHP] HELP - I have tried to unsubscribe from this list mutiple times but cannot.

2007-06-29 Thread Chris
-Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Click the unsubscribe link that appears at the bottom of every email. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] HELP - I have tried to unsubscribe from this listmutiple times but cannot.

2007-06-29 Thread M. Sokolewicz
Paul Scott wrote: On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this list to unsubscribe --Paul

Re: [PHP] HELP - I have tried to unsubscribe from this listmutiple times but cannot.

2007-06-29 Thread Chris
M. Sokolewicz wrote: Paul Scott wrote: On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this list to unsubscribe --Paul

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread M. Sokolewicz
Chris wrote: M. Sokolewicz wrote: Paul Scott wrote: On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this list to unsubscribe --Paul

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
M. Sokolewicz wrote: Chris wrote: M. Sokolewicz wrote: Paul Scott wrote: On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this list to unsubscribe

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread Jim Lucas
-Patrick wrote: M. Sokolewicz wrote: Chris wrote: M. Sokolewicz wrote: Paul Scott wrote: On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
Simon wrote: Don't be jackasses - I specifically stated I have tried to unsubscribe What does that mean to you? That I just 'said i did' and didn't actually try it??? I used the official unsubscribe link at the bottom . IT DIDNT WORK FOR ME! Call an ambulance too, just in case! Wow, have

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
Yes, I am still having a problem,after trying to unsubscribe AGAIN, it sends me a confirm message. I reply to it then it sends me back the confirm-identity message, I reply with the text block it requires and still no positive result. I must mention that in the past when I have tried to do

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
this message below should not have gone through as I tried to unsubscribe shortly before this reply -Patrick wrote: Yes, I am still having a problem,after trying to unsubscribe AGAIN, it sends me a confirm message. I reply to it then it sends me back the confirm-identity message, I reply with

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread Stut
-Patrick wrote: this message below should not have gone through as I tried to unsubscribe shortly before this reply You do not need to be subscribed to post to this list. -Patrick wrote: Yes, I am still having a problem,after trying to unsubscribe AGAIN, it sends me a confirm message. I

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread Edward Krack
To remove your address from the list, just send a message to the address in the ``List-Unsubscribe'' header of any list message. If you haven't changed addresses since subscribing, you can also send a message to: [EMAIL PROTECTED] I'm done with you -- Edward Krack

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
Stut wrote: I've never known an unsubscribe request to need identity confirmation. Are you sure you're asking the system to unsubscribe you not subscribe you? I'm really not sure how, or even if it's possible, to escalate this to the next level. I've subscribed and unsubscribed to PHP

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
Edward Krack wrote: To remove your address from the list, just send a message to the address in the ``List-Unsubscribe'' header of any list message. If you haven't changed addresses since subscribing, you can also send a message to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] I'm done with

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread Janet Valade
Here's a page with more info about unsubscribing and problems. Have you seen this? http://www.php.net/unsub.php Janet -Patrick wrote: Stut wrote: I've never known an unsubscribe request to need identity confirmation. Are you sure you're asking the system to unsubscribe you not subscribe

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread Jim Lucas
-Patrick wrote: Stut wrote: I've never known an unsubscribe request to need identity confirmation. Are you sure you're asking the system to unsubscribe you not subscribe you? I'm really not sure how, or even if it's possible, to escalate this to the next level. I've subscribed and

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
Yes, I've seen that page on php.net And no Jim, I'm not sure this is the 'exact' same problem. I understand what you are saying and it's not working. Ok, I am done for now with this list. Thanks for trying anyways. -Patrick Jim Lucas wrote: -Patrick wrote: Stut wrote: I've never known an

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread David Wonderly
-Patrick wrote: Yes, I've seen that page on php.net And no Jim, I'm not sure this is the 'exact' same problem. I understand what you are saying and it's not working. Ok, I am done for now with this list. Thanks for trying anyways. -Patrick Jim Lucas wrote: -Patrick wrote: Stut wrote:

Re: [PHP] help curl followlocation

2007-06-27 Thread Gowranga
From the PHP docs: CURLOPT_FOLLOWLOCATION (integer) This constant is not available when opendbase_dir or safe_mode are enabled. Do you have openbase_dir or safe_mode on? Cheers, Rob. -- Thanks Robert, for your mail. Both these settings are Off in my php.ini file. Kindly let

Re: [PHP] help curl followlocation

2007-06-27 Thread Tijnema
On 6/27/07, Gowranga [EMAIL PROTECTED] wrote: From the PHP docs: CURLOPT_FOLLOWLOCATION (integer) This constant is not available when opendbase_dir or safe_mode are enabled. Do you have openbase_dir or safe_mode on? Cheers, Rob. -- Thanks Robert, for your mail. Both these

Re: [PHP] help curl followlocation

2007-06-27 Thread Gowranga
You can better check it through phpinfo(), because it might be changed through httpd.conf or maybe you're looking at the wrong php.ini... Just to be sure :) Tijnema -- safe_mode entry shows it is put Off and opendbase_dir shows no value in phpinfo(). Confirmed I have only one php.ini.

[PHP] help with soapvar and xml list

2007-06-06 Thread Nathan Wheeler
I'm trying to create a request with a list. Here is what the request should be: ?xml version=1.0 encoding=utf-8? soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body

Re: [PHP] help with multi dimensional arrays

2007-05-24 Thread Zoltán Németh
2007. 05. 23, szerda keltezéssel 22.59-kor James Lockie ezt írta: I get a syntax error on strlen. $newTypes = array(); $newTypes[0] = array(); $newTypes[0][0] = Starting with you missed the ending ; on that line greets Zoltán Németh $newTypes[0][1] = strlen(

Re: [PHP] help with multi dimensional arrays

2007-05-24 Thread Richard Lynch
On Wed, May 23, 2007 9:59 pm, James Lockie wrote: I get a syntax error on strlen. $newTypes = array(); $newTypes[0] = array(); $newTypes[0][0] = Starting with $newTypes[0][1] = strlen( $newTypes[0][0] ); If you are missing the ; in the line before, PHP gets pretty

Re: [PHP] help with multi dimensional arrays

2007-05-24 Thread Micky Hulse
Micky Hulse wrote: Looks like you are missing a comma on line 3. Doi, meant semi-colon, not comma... Lol. Also, when I get PHP errors, if not obvious, I check the previous line also... If says something like error on line 7 I will look at both line six and seven. Of course, depends on

Re: [PHP] Help with php server and sockets

2007-05-23 Thread Robert Cummings
On Wed, 2007-05-23 at 16:24 -0700, Adz07 wrote: i want to set up a php server that can communicate with a client (CLI PHP Script). I can setup the server socket fine. What i need to know is whether it is possible for the client to call a function in the servers php code and the server return

[PHP] help with multi dimensional arrays

2007-05-23 Thread James Lockie
I get a syntax error on strlen. $newTypes = array(); $newTypes[0] = array(); $newTypes[0][0] = Starting with $newTypes[0][1] = strlen( $newTypes[0][0] ); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] help with multi dimensional arrays

2007-05-23 Thread Micky Hulse
Looks like you are missing a comma on line 3. James Lockie wrote: I get a syntax error on strlen. $newTypes = array(); $newTypes[0] = array(); $newTypes[0][0] = Starting with $newTypes[0][1] = strlen( $newTypes[0][0] ); -- Wishlists: http://snipurl.com/1gqpj Switch:

Re: [PHP] help with multi dimensional arrays

2007-05-23 Thread Paul Novitski
Looks like you are missing a comma on line 3. James Lockie wrote: I get a syntax error on strlen. $newTypes = array(); $newTypes[0] = array(); $newTypes[0][0] = Starting with $newTypes[0][1] = strlen( $newTypes[0][0] ); Missing semicolon; Paul -- PHP General Mailing List

Re: [PHP] help with multi dimensional arrays

2007-05-23 Thread James Lockie
Paul Novitski wrote: Looks like you are missing a comma on line 3. James Lockie wrote: I get a syntax error on strlen. $newTypes = array(); $newTypes[0] = array(); $newTypes[0][0] = Starting with $newTypes[0][1] = strlen( $newTypes[0][0] ); Missing semicolon; Paul Argh,

Re: [PHP] help with multi dimensional arrays

2007-05-23 Thread Greg Donald
On 5/23/07, James Lockie [EMAIL PROTECTED] wrote: Argh, that is the worst error. :-( The error messages in PHP suck. When I run your code it says: Parse error: syntax error, unexpected T_VARIABLE in /opt/local/apache2/htdocs/missing.php on line 5 If you did not get a similar error you may

Re: [PHP] help with multi dimensional arrays

2007-05-23 Thread Steve Finkelstein
Might I suggest using an IDE to develop your code in. It would be able to spot simple oversights such as syntax errors. I personally use Zend Studio, however if you aren't looking to invest in a license, there are plenty of open source solutions out there. Cheers, - sf James Lockie wrote: Paul

[PHP] Help with php server and sockets

2007-05-23 Thread Adz07
i want to set up a php server that can communicate with a client (CLI PHP Script). I can setup the server socket fine. What i need to know is whether it is possible for the client to call a function in the servers php code and the server return the data ready for the client to process?? To

[PHP] Help with CURL please!

2007-05-11 Thread ray
I'm having a problem getting Curl to work properly...and I know its because of this unique situation, so I'm hoping a CURL expert can help me out. I'm trying to access this URL (public search form) using CURL and grab the HTML contents http://enterprisedirectory.ucr.edu/phone/tel_search.show

[PHP] Help with CURL please

2007-05-11 Thread ray
I'm having a problem getting Curl to work properly...and I know its because of this unique situation, so I'm hoping a CURL expert can help me out. I'm trying to access this URL (public search form) using CURL and grab the HTML contents http://enterprisedirectory.ucr.edu/phone/tel_search.show

Re: [PHP] Help with CURL please

2007-05-11 Thread Greg Donald
On 5/11/07, ray [EMAIL PROTECTED] wrote: I'm having a problem getting Curl to work properly...and I know its because of this unique situation, so I'm hoping a CURL expert can help me out. I'm trying to access this URL (public search form) using CURL and grab the HTML contents

Re: [PHP] Help with CURL please!

2007-05-11 Thread Robert Cummings
On Fri, 2007-05-11 at 14:13 -0700, ray wrote: I'm having a problem getting Curl to work properly...and I know its because of this unique situation, so I'm hoping a CURL expert can help me out. That's not very unique. More unique is when you have to rip out JavaScript cookie stuff and process

Re: [PHP] Help me put this into phpinesse!

2007-04-29 Thread Tijnema !
On 4/29/07, Brad Sumrall [EMAIL PROTECTED] wrote: ?php ob_start(); session_start(); header(Cache-control: private); require(includes/configure.php); $conn=mysql_connect(DB_SERVER,DB_SERVER_USERNAME,DB_SERVER_PASSWORD);

RE: [PHP] Help me put this into phpinesse!

2007-04-29 Thread Brad Sumrall
- From: Tijnema ! [mailto:[EMAIL PROTECTED] Sent: Sunday, April 29, 2007 5:03 AM To: Brad Sumrall Cc: php-general@lists.php.net; [EMAIL PROTECTED] Subject: Re: [PHP] Help me put this into phpinesse! On 4/29/07, Brad Sumrall [EMAIL PROTECTED] wrote: ?php ob_start

[PHP] Help me put this into phpinesse!

2007-04-28 Thread Brad Sumrall
?php ob_start(); session_start(); header(Cache-control: private); require(includes/configure.php); $conn=mysql_connect(DB_SERVER,DB_SERVER_USERNAME,DB_SERVER_PASSWORD); mysql_select_db(DB_DATABASE) or die(mysql_error().: database

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 --

Re: [PHP] Help with table in database and login scripts.

2007-04-11 Thread Chris
Karl James wrote: Team, I want to know if my table is setup correctly. I am creating a site where team owners control fantasy football teams. Imaginary teams. They can trade players, add and drop them as long as they are under the salary cap at all times. if not they are given a warning to

[PHP] Help with table in database and login scripts.

2007-04-07 Thread Karl James
Team, I want to know if my table is setup correctly. I am creating a site where team owners control fantasy football teams. Imaginary teams. They can trade players, add and drop them as long as they are under the salary cap at all times. if not they are given a warning to make a different

Re: [PHP] HELP with mail()

2007-04-06 Thread Tijnema !
On 4/6/07, Zhimmy Kanata [EMAIL PROTECTED] wrote: I created the following email program from a email function that I know works in another program. When I create a simple form page listed below and submit it. It echos the $email and the $username and it writes it to the page. So it is

[PHP] HELP with mail()

2007-04-05 Thread Zhimmy Kanata
I created the following email program from a email function that I know works in another program. When I create a simple form page listed below and submit it. It echos the $email and the $username and it writes it to the page. So it is finding the variables within the transfering url in

Re: [PHP] help me to solve this math maze

2007-04-04 Thread Zoltán Németh
2007. 04. 4, szerda keltezéssel 12.44-kor Faisal Murad ezt írta: i am making a program to give money to a group of people lets say that i have to distribute 3000 among 12 people 6 of them are adult and will get 100% 6 them are children those will get 75% from the overall amount. a

Re: [PHP] help me to solve this math maze

2007-04-04 Thread Satyam
PROTECTED] To: php-general@lists.php.net Sent: Wednesday, April 04, 2007 11:44 AM Subject: [PHP] help me to solve this math maze i am making a program to give money to a group of people lets say that i have to distribute 3000 among 12 people 6 of them are adult and will get 100% 6 them are children

Re: [PHP] help me to solve this math maze

2007-04-04 Thread Jochem Maas
(notice that in real life it's the bank that always pockets the change ;-) Satyam - Original Message - From: Faisal Murad [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, April 04, 2007 11:44 AM Subject: [PHP] help me to solve this math maze i am making

Re: [PHP] help me to solve this math maze

2007-04-04 Thread tedd
At 12:44 PM +0300 4/4/07, Faisal Murad wrote: i am making a program to give money to a group of people lets say that i have to distribute 3000 among 12 people 6 of them are adult and will get 100% 6 them are children those will get 75% from the overall amount. a common solution might appear as

RE: [PHP] preview string with strlen PHP (help)

2007-03-27 Thread Ford, Mike
On 24 March 2007 16:28, tedd wrote: 2007. 03. 23, péntek keltezéssel 17.30-kor Dwayne Heronimo ezt írta: YES this works thank nemeth: your welcome but please call me Zoltán ;) (my first name is Zoltán. in Hungary we write names the opposite order than anywhere else ;) so that's why

RE: [PHP] preview string with strlen PHP (help)

2007-03-27 Thread tedd
At 12:54 PM +0100 3/27/07, Ford, Mike wrote: On 24 March 2007 16:28, tedd wrote: 2007. 03. 23, péntek keltezéssel 17.30-kor Dwayne Heronimo ezt írta: YES this works thank nemeth: your welcome but please call me Zoltán ;) (my first name is Zoltán. in Hungary we write names the

Re: [PHP] preview string with strlen PHP (help)

2007-03-27 Thread tedd
At 6:57 PM +0200 3/27/07, Tijnema ! wrote: snip As us USA types are told, we all have to adapt to global conventions. :-) ... which presumably explains why the (US-owned) company my wife works for has email addresses in the form [EMAIL PROTECTED] Would you be equally confused by these?

Re: [PHP] preview string with strlen PHP (help)

2007-03-27 Thread Zoltán Németh
2007. 03. 27, kedd keltezéssel 18.57-kor Tijnema ! ezt írta: snip As us USA types are told, we all have to adapt to global conventions. :-) ... which presumably explains why the (US-owned) company my wife works for has email addresses in the form [EMAIL PROTECTED] Would you

Re: [PHP] preview string with strlen PHP (help)

2007-03-27 Thread Tijnema !
snip If a US company wants to use [EMAIL PROTECTED], then as we all know, management is always right -- so let's all change to that. Except for the companies that do it the other way -- ah, there I go being confused again. There's just no getting around it. Why can't we all just

[PHP] Re: OT: firstname-lastname fun - SOLVED :) (was: Re: [PHP] preview string with strlen PHP (help))

2007-03-26 Thread tedd
At 12:29 AM +0200 3/26/07, Zoltán Németh wrote: 2007. 03. 23, péntek keltezéssel 20.36-kor Tijnema ! ezt írta: On 3/23/07, Németh Zoltán [EMAIL PROTECTED] wrote: 2007. 03. 23, péntek keltezéssel 17.30-kor Dwayne Heronimo ezt írta: YES this works thank nemeth: your welcome but please

[PHP] OT: firstname-lastname fun - SOLVED :) (was: Re: [PHP] preview string with strlen PHP (help))

2007-03-25 Thread Zoltán Németh
2007. 03. 23, péntek keltezéssel 20.36-kor Tijnema ! ezt írta: On 3/23/07, Németh Zoltán [EMAIL PROTECTED] wrote: 2007. 03. 23, péntek keltezéssel 17.30-kor Dwayne Heronimo ezt írta: YES this works thank nemeth: your welcome but please call me Zoltán ;) (my first name is Zoltán. in

Re: [PHP] preview string with strlen PHP (help)

2007-03-24 Thread tedd
2007. 03. 23, péntek keltezéssel 17.30-kor Dwayne Heronimo ezt írta: YES this works thank nemeth: your welcome but please call me Zoltán ;) (my first name is Zoltán. in Hungary we write names the opposite order than anywhere else ;) so that's why my mailbox is set to display 'Németh Zoltán'

[PHP] preview string with strlen PHP (help)

2007-03-23 Thread Dwayne Heronimo
Dear All, I am very new to programming. I want to make a preview text that would display only a part of the text that is a text field in a database. //Begin Make preview string $minitxt = $row_show_cat['text']; $len = strlen($minitxt); if ($len 235) { $len = 235; } else { $len =

Re: [PHP] preview string with strlen PHP (help)

2007-03-23 Thread Tijnema !
On 3/23/07, Dwayne Heronimo [EMAIL PROTECTED] wrote: Dear All, I am very new to programming. I want to make a preview text that would display only a part of the text that is a text field in a database. //Begin Make preview string $minitxt = $row_show_cat['text']; $len = strlen($minitxt);

RE: [PHP] preview string with strlen PHP (help)

2007-03-23 Thread Flavien CHANTELOT
-Message d'origine- De : Tijnema ! [mailto:[EMAIL PROTECTED] Envoyé : vendredi 23 mars 2007 16:26 À : Dwayne Heronimo Cc : php-general@lists.php.net Objet : Re: [PHP] preview string with strlen PHP (help) On 3/23/07, Dwayne Heronimo [EMAIL PROTECTED] wrote: Dear All, I am very new

RE: [PHP] preview string with strlen PHP (help)

2007-03-23 Thread Edward Kay
-Original Message- From: Dwayne Heronimo [mailto:[EMAIL PROTECTED] Dear All, I am very new to programming. I want to make a preview text that would display only a part of the text that is a text field in a database. //Begin Make preview string $minitxt = $row_show_cat['text'];

Re: [PHP] preview string with strlen PHP (help)

2007-03-23 Thread Jochem Maas
Dwayne Heronimo wrote: Dear All, I am very new to programming. I want to make a preview text that would display only a part of the text that is a text field in a database. //Begin Make preview string $minitxt = $row_show_cat['text']; $len = strlen($minitxt); if ($len 235) {

Re: [PHP] preview string with strlen PHP (help)

2007-03-23 Thread Dwayne Heronimo
Dear all, hmm.. sorry the $previewstext thing was a typo in my mail. But yes it is working but it will only display the first record of the recordset. I have like a list for items with short text in a page and of course made a query to make the database variables available. Which where the

Re: [PHP] preview string with strlen PHP (help)

2007-03-23 Thread Németh Zoltán
2007. 03. 23, péntek keltezéssel 16.55-kor Dwayne Heronimo ezt írta: Dear all, hmm.. sorry the $previewstext thing was a typo in my mail. But yes it is working but it will only display the first record of the recordset. I have like a list for items with short text in a page and of

<    1   2   3   4   5   6   7   8   9   10   >