[PHP] fsocketopen questions

2003-12-08 Thread David
Dear All, I write a php scripts to use the function of fsocketopen to gather some data on the web, everything is perfect when I test the scripts on the apache server installed in my pc. But when I upload the codes to the server I hosted, I always got a time out error, even after I enlarge the

[PHP] How do I fake a FORM submission with POST Mothed from PHP

2003-12-08 Thread leon
Hi , guys How can I POST a submit to a webserver and get the response content in PHP script? And if it must use CURL how can i add this module? i configure PHP without --with-curl ,:( -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] fsocketopen questions

2003-12-08 Thread Jason Wong
On Monday 08 December 2003 13:23, David wrote: I write a php scripts to use the function of fsocketopen to gather some data on the web, everything is perfect when I test the scripts on the apache server installed in my pc. But when I upload the codes to the server I hosted, I always got a

[PHP] goto label

2003-12-08 Thread Nitin
Hi all, I was wondering, if there's any way to achieve 'goto label:' using PHP Thanx for ur time Nitin

RE: [PHP] goto label

2003-12-08 Thread Jay Blanchard
[snip] I was wondering, if there's any way to achieve 'goto label:' using PHP [/snip] Are you trying to go to a section of code to perform some operations on current variables? If so use functions http://us3.php.net/manual/en/ref.funchand.php . If you have some sort of decisive mechanism use

[PHP] functions for predict satellites

2003-12-08 Thread tobias . kaboth
Hello, anyone knows PHP-source(functions) for predict satellites (NORAD SGP4/SDP4)? Greetings, Tobias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Need PHP consulting - $!

2003-12-08 Thread Brian Dunning
I need some consulting assistance with a project. Complete information about what I need is on this page - http://www.briandunning.com/php-help.shtml THANK YOU!!! - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Maximum execution time

2003-12-08 Thread John J Foerch
Thanks for the help, everyone. -John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do I fake a FORM submission with POST Mothed from PHP

2003-12-08 Thread Chris Shiflett
--- leon [EMAIL PROTECTED] wrote: How can I POST a submit to a webserver and get the response content in PHP script? You can do it manually: http://shiflett.org/hacks/php/http_post Other options are cURL and various PEAR classes. Hope that helps. Chris = Chris Shiflett -

[PHP] Re: password protection/encryption

2003-12-08 Thread Mike
Chris Mach wrote: Greetings, I'm working on a project that involves a password protected area of a website. Some one also involved brought up the point that this area should be secure (Whit the lock icon indicating it is encrypted). In this particular project the password protected area will be a

[PHP] Re: write failed

2003-12-08 Thread Mike
Dan McCullough wrote: Just wanted to see if this was correct. To me this is saying that /tmp cannot be written to as there is no space left on device. Warning: Unknown(): write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown(): Failed to write session data (files).

[PHP] Re: PHP eregi filtering problem

2003-12-08 Thread Sven
Purpleonyx schrieb: Greetings all, I ran into a problem today and was hoping someone could provide an answer. I am fetching a web page, and attempting to parse certain variables from it. I've done this plenty of times in the past with no problem. The only difference this time is the file that I

php-general Digest 8 Dec 2003 17:10:00 -0000 Issue 2461

2003-12-08 Thread php-general-digest-help
php-general Digest 8 Dec 2003 17:10:00 - Issue 2461 Topics (messages 172139 through 172155): Re: getimagesize() MySQL Image Storage (Running functions on contents of variables) 172139 by: Tom Rogers Re: Not able to execute Linux binary 172140 by: Jason Wong 172141

Re: [PHP] Problem With Apache / PHP Installation

2003-12-08 Thread Sven
Shaun schrieb: Ajai Khattri [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, Dec 06, 2003 at 07:46:07PM -, Shaun wrote: I have installed PHP and Apache but when i try to view a PHP file i.e. http://127.0.0.1/hello.php i get a dialog box asking me if i want to open or save

[PHP] Fedora and Firebird

2003-12-08 Thread Todd Cary
I am using Fedora Core 1 and I downloaded the php source(php-4.3.3-6.src.rpm). If I add --with-interbase=shared,/opt/firebird/lib/ I get the error that it cannot find libgds or libib_util. libib_util.so is in /opt/firebird/lib/. There is no libgds after installing Firebird. What am I missing?

[PHP] How to use PHP to view the file permision???

2003-12-08 Thread Scott Fletcher
Hi Everyone! Looked up on the manual about the chmod() function for PHP, nice but it wouldn't work if the ownership file permission is set, so that bring up a question. How do I view the file permission or folder permission to see if it have the neccessnary permission before proceeding.

Re: [PHP] How to use PHP to view the file permision???

2003-12-08 Thread Jason Wong
On Tuesday 09 December 2003 02:19, Scott Fletcher wrote: Looked up on the manual about the chmod() function for PHP, nice but it wouldn't work if the ownership file permission is set, so that bring up a question. How do I view the file permission or folder permission to see if it have

Re: [PHP] How to use PHP to view the file permision???

2003-12-08 Thread Marcos Thiago Merschamnn Fabis
Looked up on the manual about the chmod() function for PHP, nice but it wouldn't work if the ownership file permission is set, so that bring up a question. How do I view the file permission or folder permission to see if it have the neccessnary permission before proceeding. That

[PHP] PHP, XML, UTF-8

2003-12-08 Thread Russell P Jones
Im storing a lot of user-entered data in XML files but i have a problem with folks submitting stuff just by copying and pasting from microsoft word. Smart Quotes and other awkward text then gets submitted and ruins the xml, meaning i am searching and replacing item by item to replace stuff. Does

[PHP] Re: PHP, XML, UTF-8

2003-12-08 Thread Manuel Lemos
Hello, On 12/08/2003 04:37 PM, Russell P Jones wrote: Im storing a lot of user-entered data in XML files but i have a problem with folks submitting stuff just by copying and pasting from microsoft word. Smart Quotes and other awkward text then gets submitted and ruins the xml, meaning i am

[PHP] Re: Can I request ?

2003-12-08 Thread Iain Staffell
Playerfr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am using a PHPBB to have forum and site in php and i need a little script , can i request it here or do you know an otehr group where i can request it. Thnaks If it is a script relating to the forum, you can find many

[PHP] Re: POST upload script timeout

2003-12-08 Thread Iain Staffell
Eric Bolikowski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] ini_set('max_execution_time', '3600'); Thankyou very much, it works fine now! :o) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP to HTML

2003-12-08 Thread Steve Marquez
Greetings! Is there a way to have PHP write an HTML file? What I would like to do is have a user fill out a form, then have the information write an HTML file and then save the file either for the first time, or overwrite the existing one. I hope this makes sense. Can anyone help? -- Steve

RE: [PHP] PHP to HTML

2003-12-08 Thread Chris W. Parker
Steve Marquez mailto:[EMAIL PROTECTED] on Monday, December 08, 2003 12:28 PM said: Greetings! Hi. Is there a way to have PHP write an HTML file? Yes. Start here http://us2.php.net/manual/en/function.fwrite.php. Chris. -- Don't like reformatting your Outlook replies? Now there's relief!

Re: [PHP] PHP to HTML

2003-12-08 Thread Chris Shiflett
--- Steve Marquez [EMAIL PROTECTED] wrote: Is there a way to have PHP write an HTML file? Sure. This is no different from writing any other file. If you want it to write a file instead of outputting the content, a convenient way (my opinion) of doing this is to use ob_start() at the top of your

[PHP] How do I apt-get newer php4 cgi with mysql on debian?

2003-12-08 Thread Daevid Vincent
I am setting up a Soekris box (256MB CF card) that needs a newer PHP with mySQL support. I followed some instructions I googled and finally got a v4.1.2 of PHP that has mysql working even though phpinfo() says '--without-mysql' (?!). But this is a pretty old version of PHP. I do NOT need the

[PHP] preg_match and regular expression

2003-12-08 Thread fred
Hi I have problems with a regular expression. I have a html file like this: body divHello/div br br divsomthing/div br /body And i want to use preg_match to get a list of all the div tags in the file: result: $list[0] = divHello/div $list[1] = divsomthing/div I have tryed this:

[PHP] preg_match and regular expression

2003-12-08 Thread fred
Hi I have problems with a regular expression. I have a html file like this: body divHello/div br br divsomthing/div br /body And i want to use preg_match to get a list of all the div tags in the file: result: $list[0] = divHello/div $list[1] = divsomthing/div I have tryed this:

Re: [PHP] How to use PHP to view the file permision???

2003-12-08 Thread Scott Fletcher
Um, not sure what this meant with the fileperms() function. I have file permission as -rw-r--r-- or 644 and when using hte fileperms() funciton, it spitted a result as 33188. If you know what it is then I'm all ear! Don't know what the hell is 33188 stand for, so will stick to easier functions,

RE: [PHP] How to use PHP to view the file permision???

2003-12-08 Thread Roger B.A. Klorese
Um, not sure what this meant with the fileperms() function. I have file permission as -rw-r--r-- or 644 and when using hte fileperms() funciton, it spitted a result as 33188. If you know what it is then I'm all ear! 33188 (base 10) == 0x100644 (base 8). -- PHP General Mailing List

Re: [PHP] How to use PHP to view the file permision???

2003-12-08 Thread Scott Fletcher
What's the function for converting it to base 8 ??? Thanks Roger B.A. Klorese [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Um, not sure what this meant with the fileperms() function. I have file permission as -rw-r--r-- or 644 and when using hte fileperms() funciton,

Re: [PHP] How to use PHP to view the file permision???

2003-12-08 Thread Scott Fletcher
Alright found it. it is base_convert, just use ... --snip-- echo base_convert($filename,8,10); --snip-- Cheer! Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What's the function for converting it to base 8 ??? Thanks Roger B.A. Klorese [EMAIL PROTECTED]

[PHP] PHP My SQL vs ASP.NET SQL 2000 Server

2003-12-08 Thread Ryotaro Ishikawa MD
Hi, I am a MD, involved in a very large medical project that requieres a strong database plataform, the project must be .NET , the estimated transactional movement is about 40 on line users accesing a DB with a 200 relational tables. The policy is to program this SW in three layer design,

[PHP] Re: preg_match and regular expression

2003-12-08 Thread Justin Patrin
Fred wrote: Hi I have problems with a regular expression. I have a html file like this: body divHello/div br br divsomthing/div br /body And i want to use preg_match to get a list of all the div tags in the file: result: $list[0] = divHello/div $list[1] = divsomthing/div I have tryed

[PHP] Re: PHP My SQL vs ASP.NET SQL 2000 Server

2003-12-08 Thread Justin Patrin
Ryotaro Ishikawa Md wrote: Hi, I am a MD, involved in a very large medical project that requieres a strong database plataform, the project must be .NET , the estimated transactional movement is about 40 on line users accesing a DB with a 200 relational tables. The policy is to program this SW in

[PHP] Reading email from sendmail

2003-12-08 Thread Robin Kopetzky
Good afternoon, all!! Is there a function or series of functions in PHP that will allow a PHP package to read email from a sendmail account, look for a specific information in the subject line, then be able to resend that email to a group of users?? I know mail can be used to send email

[PHP] Re: Reading email from sendmail

2003-12-08 Thread Justin Patrin
Robin Kopetzky wrote: Good afternoon, all!! Is there a function or series of functions in PHP that will allow a PHP package to read email from a sendmail account, look for a specific information in the subject line, then be able to resend that email to a group of users?? I know mail can

[PHP] query to display the results without...

2003-12-08 Thread Eric Holmstrom
Hi there I have a database called Eric and table name called Rocket'. Table consists of three values. PARTNO | DESCRIPTION | COMMENT So far if i want to show copper headgaskets from the 5r field i put this string into the php script (along with the rest of the html/php code) $sql = SELECT *

[PHP] Re: query to display the results without...

2003-12-08 Thread Justin Patrin
Eric Holmstrom wrote: Hi there I have a database called Eric and table name called Rocket'. Table consists of three values. PARTNO | DESCRIPTION | COMMENT So far if i want to show copper headgaskets from the 5r field i put this string into the php script (along with the rest of the html/php

[PHP] Re: query to display the results without...

2003-12-08 Thread Eric Holmstrom
Okay i have this so far --- ?php $conn = mysql_connect(localhost, , ); mysql_select_db(ERIC,$conn); $sql = SELECT * FROM rocket; $result = mysql_query($sql, $conn) or die(mysql_error()); while ($newArray = mysql_fetch_array($result)) { $partno =

[PHP] Re: PHP My SQL vs ASP.NET SQL 2000 Server

2003-12-08 Thread Manuel Lemos
Hello, On 12/08/2003 07:42 PM, Ryotaro Ishikawa Md wrote: Hi, I am a MD, involved in a very large medical project that requieres a strong database plataform, the project must be .NET , the estimated transactional movement is about 40 on line users accesing a DB with a 200 relational tables. The

[PHP] Re: Reading email from sendmail

2003-12-08 Thread Manuel Lemos
Hello, On 12/08/2003 07:58 PM, Robin Kopetzky wrote: Is there a function or series of functions in PHP that will allow a PHP package to read email from a sendmail account, look for a specific information in the subject line, then be able to resend that email to a group of users?? I know

RE: [PHP] Re: query to display the results without...

2003-12-08 Thread Chris W. Parker
Eric Holmstrom mailto:[EMAIL PROTECTED] on Monday, December 08, 2003 3:06 PM said: How do i make it so if i type http://localhost/test.php?partno=5rdescription=copper $partno = $_GET['partno']; $description = $_GET['description']; $sql = SELECT partno ,

[PHP] Re: query to display the results without...

2003-12-08 Thread Justin Patrin
Eric Holmstrom wrote: Okay i have this so far --- ?php $conn = mysql_connect(localhost, , ); mysql_select_db(ERIC,$conn); $sql = SELECT * FROM rocket; $result = mysql_query($sql, $conn) or die(mysql_error()); while ($newArray =

[PHP] post an array into another site

2003-12-08 Thread fred
Hi I have an array in php like this: $arr[0][0] = Something; $arr[0][1] = Hello; $arr[0][2] = Hi; It is possible to post this array to another site in a form? Or how can i do this? Fred -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] post an array into another site

2003-12-08 Thread Chris W. Parker
fred mailto:[EMAIL PROTECTED] on Monday, December 08, 2003 4:31 AM said: I have an array in php like this: $arr[0][0] = Something; $arr[0][1] = Hello; $arr[0][2] = Hi; It is possible to post this array to another site in a form? Or how can i do this? Yes. Here is a hint: delimit.

Re: [PHP] post an array into another site

2003-12-08 Thread Justin Patrin
Chris W. Parker wrote: fred mailto:[EMAIL PROTECTED] on Monday, December 08, 2003 4:31 AM said: I have an array in php like this: $arr[0][0] = Something; $arr[0][1] = Hello; $arr[0][2] = Hi; It is possible to post this array to another site in a form? Or how can i do this? Yes. Here is a

Re: [PHP] post an array into another site

2003-12-08 Thread Mike Migurski
I have an array in php like this: $arr[0][0] = Something; $arr[0][1] = Hello; $arr[0][2] = Hi; It is possible to post this array to another site in a form? Or how can i do this? It would help to serialize the array into a string, then pass it as a regular value in a GET or POST request.

[PHP] Re: post an array into another site

2003-12-08 Thread Manuel Lemos
Hello, On 12/08/2003 10:30 AM, Fred wrote: I have an array in php like this: $arr[0][0] = Something; $arr[0][1] = Hello; $arr[0][2] = Hi; It is possible to post this array to another site in a form? Or how can i do this? You may want to try this class that lets you make HTTP requests like a

[PHP] Re: post an array into another site

2003-12-08 Thread Justin Patrin
Manuel Lemos wrote: Hello, On 12/08/2003 10:30 AM, Fred wrote: I have an array in php like this: $arr[0][0] = Something; $arr[0][1] = Hello; $arr[0][2] = Hi; It is possible to post this array to another site in a form? Or how can i do this? You may want to try this class that lets you make

[PHP] Re: post an array into another site

2003-12-08 Thread Manuel Lemos
Hello, On 12/08/2003 10:39 PM, Justin Patrin wrote: $arr[0][0] = Something; $arr[0][1] = Hello; $arr[0][2] = Hi; It is possible to post this array to another site in a form? Or how can i do this? You may want to try this class that lets you make HTTP requests like a normal browser:

Re: [PHP] Reading email from sendmail

2003-12-08 Thread Justin French
On Tuesday, December 9, 2003, at 08:58 AM, Robin Kopetzky wrote: Good afternoon, all!! Is there a function or series of functions in PHP that will allow a PHP package to read email from a sendmail account, look for a specific information in the subject line, then be able to resend that email

Re: [PHP] Re: post an array into another site

2003-12-08 Thread Chris Shiflett
--- Manuel Lemos [EMAIL PROTECTED] wrote: http://www.phpclasses.org/httpclient Or even better, use PEAR's HTTP_Client. http://pear.php.net/package/HTTP_Client Why better? Have you tried both packages? I can make a guess as to why he would say this, aside from the obvious fact that

[PHP] Re: post an array into another site

2003-12-08 Thread Justin Patrin
Manuel Lemos wrote: Hello, On 12/08/2003 10:39 PM, Justin Patrin wrote: $arr[0][0] = Something; $arr[0][1] = Hello; $arr[0][2] = Hi; It is possible to post this array to another site in a form? Or how can i do this? You may want to try this class that lets you make HTTP requests like a

[PHP] restrict access to multiple pages

2003-12-08 Thread Chris W. Parker
Hey y'all. Ok so I am working on the admin sectin of the e-commerce app I'm writing and I'm hoping there's a better way to do what I am currently doing. In an effort to prevent circumvention of the login page I've placed a check at the beginning of each page that basically does the following:

Re: [PHP] Re: post an array into another site

2003-12-08 Thread Justin Patrin
Chris Shiflett wrote: --- Manuel Lemos [EMAIL PROTECTED] wrote: http://www.phpclasses.org/httpclient Or even better, use PEAR's HTTP_Client. http://pear.php.net/package/HTTP_Client Why better? Have you tried both packages? I can make a guess as to why he would say this, aside from the obvious

[PHP] Re: restrict access to multiple pages

2003-12-08 Thread Justin Patrin
Chris W. Parker wrote: Hey y'all. Ok so I am working on the admin sectin of the e-commerce app I'm writing and I'm hoping there's a better way to do what I am currently doing. In an effort to prevent circumvention of the login page I've placed a check at the beginning of each page that basically

Re: [PHP] restrict access to multiple pages

2003-12-08 Thread Chris Shiflett
--- Chris W. Parker [EMAIL PROTECTED] wrote: In an effort to prevent circumvention of the login page I've placed a check at the beginning of each page that basically does the following: ?php if(loggedin()) { // entire page of code goes here } else { // redirect back to

[PHP] Re: post an array into another site

2003-12-08 Thread Manuel Lemos
Hello, On 12/08/2003 11:06 PM, Justin Patrin wrote: You may want to try this class that lets you make HTTP requests like a normal browser: http://www.phpclasses.org/httpclient Or even better, use PEAR's HTTP_Client. http://pear.php.net/package/ HTTP_Client Why better? Have you tried both

Re: [PHP] Re: post an array into another site

2003-12-08 Thread Chris Shiflett
--- Justin Patrin [EMAIL PROTECTED] wrote: Actually PEAR isn't a PHP project per se. I disagree. You have to become a member of the PHP development team, as far as I know, to participate in PEAR development (CVS account, php.net email address, etc.). The project is also governed by the PHP

Re: [PHP] post an array into another site

2003-12-08 Thread Justin Patrin
Chris W. Parker wrote: Justin Patrin mailto:[EMAIL PROTECTED] on Monday, December 08, 2003 4:39 PM said: If all you want to do is give an array to another script, sure you can delimit (although that's much more error prone than serializing). Serialize, delimit. It's pretty much the same

Re: [PHP] Re: post an array into another site

2003-12-08 Thread Justin Patrin
Chris Shiflett wrote: --- Justin Patrin [EMAIL PROTECTED] wrote: Actually PEAR isn't a PHP project per se. I disagree. You have to become a member of the PHP development team, as far as I know, to participate in PEAR development (CVS account, php.net email address, etc.). The project is also

Re: [PHP] Re: post an array into another site

2003-12-08 Thread Manuel Lemos
Hello, On 12/08/2003 11:04 PM, Chris Shiflett wrote: http://www.phpclasses.org/httpclient Or even better, use PEAR's HTTP_Client. http://pear.php.net/package/HTTP_Client Why better? Have you tried both packages? I can make a guess as to why he would say this, aside from the obvious fact that

Re: [PHP] Re: post an array into another site

2003-12-08 Thread Rodney Green
- Original Message - From: Manuel Lemos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 08, 2003 8:30 PM Subject: Re: [PHP] Re: post an array into another site Hello, On 12/08/2003 11:04 PM, Chris Shiflett wrote: http://www.phpclasses.org/httpclient Or even

[PHP] Re: post an array into another site

2003-12-08 Thread Justin Patrin
Manuel Lemos wrote: Hello, On 12/08/2003 11:06 PM, Justin Patrin wrote: You may want to try this class that lets you make HTTP requests like a normal browser: http://www.phpclasses.org/httpclient Or even better, use PEAR's HTTP_Client. http://pear.php.net/package/ HTTP_Client Why

[PHP] Re: post an array into another site

2003-12-08 Thread Justin Patrin
Justin Patrin wrote: Manuel Lemos wrote: Hello, On 12/08/2003 10:30 AM, Fred wrote: I have an array in php like this: $arr[0][0] = Something; $arr[0][1] = Hello; $arr[0][2] = Hi; It is possible to post this array to another site in a form? Or how can i do this? You may want to try this

[PHP] php validator

2003-12-08 Thread Terence
Dear List, Is there an application somewhere that can be used to determine incompatibilities with different versions of PHP of ones code? Something like a recursive directory scan checking functions used and determining the versions they will / won't work on. Hope this makes sence. Thanks

[PHP] spambothoney: script to pollute spammer's databases

2003-12-08 Thread daniel hahler
Hello PHP-list, I proudly announce the first release of my first PHP script: spambothoney. It provides a class to generate different types of email addresses (random invalid, combination of users/hosts, with spambots IP/host, binary output) and is meant to pollute the crawling spambots that

Re: [PHP] spambothoney: script to pollute spammer's databases

2003-12-08 Thread daniel
Hi, i'll definately have a look, maybe the PHP list should intergrate a protection system, as i definately got bombarded with spam as soon as i joined, funny enough never happened when i was using the newsgroup ?? Hello PHP-list, I proudly announce the first release of my first PHP script:

Re: [PHP] Re: PHP My SQL vs ASP.NET SQL 2000 Server

2003-12-08 Thread Hardik Doshi
Before you make any decision please take a look the power of PHP. http://www.dreamlab.ca/technology/phpsites/ Thanks Hardik --- Manuel Lemos [EMAIL PROTECTED] wrote: Hello, On 12/08/2003 07:42 PM, Ryotaro Ishikawa Md wrote: Hi, I am a MD, involved in a very large medical project that

[PHP] Re: post an array into another site

2003-12-08 Thread Manuel Lemos
Hello, On 12/08/2003 11:36 PM, Justin Patrin wrote: You may want to try this class that lets you make HTTP requests like a normal browser: http://www.phpclasses.org/httpclient Or even better, use PEAR's HTTP_Client. http://pear.php.net/package/ HTTP_Client Why better? Have you tried both

Re: [PHP] restrict access to multiple pages

2003-12-08 Thread Justin French
On Tuesday, December 9, 2003, at 12:08 PM, Chris W. Parker wrote: Hey y'all. Ok so I am working on the admin sectin of the e-commerce app I'm writing and I'm hoping there's a better way to do what I am currently doing. In an effort to prevent circumvention of the login page I've placed a

RE: [PHP] Re: post an array into another site

2003-12-08 Thread Ralph Guzman
= THE END = -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: spambothoney: script to pollute spammer's databases

2003-12-08 Thread Manuel Lemos
Hello, On 12/09/2003 12:26 AM, Daniel Hahler wrote: I proudly announce the first release of my first PHP script: spambothoney. It provides a class to generate different types of email addresses (random invalid, combination of users/hosts, with spambots IP/host, binary output) and is meant to

[PHP] Re: php validator

2003-12-08 Thread Manuel Lemos
Hello, On 12/09/2003 12:14 AM, Terence wrote: Is there an application somewhere that can be used to determine incompatibilities with different versions of PHP of ones code? Something like a recursive directory scan checking functions used and determining the versions they will / won't work on.

Re: [PHP] Re: post an array into another site

2003-12-08 Thread Chris Shiflett
--- Justin Patrin [EMAIL PROTECTED] wrote: Ok, I can give you that. But anyone (and I mean anyone) can submit patches to the maintainers for inclusion. This is no different than with PHP or most any other open source project. In fact, submitting patches is probably the most common precursor to

Re: [PHP] Re: post an array into another site

2003-12-08 Thread Chris Shiflett
--- Manuel Lemos [EMAIL PROTECTED] wrote: I can make a guess as to why he would say this, aside from the obvious fact that one is part of the PHP project and one is not. And? Does that meant that all the 130.000+ subscribers of the PHP Classes site are all wrong and you are one that is

Re: [PHP] Re: post an array into another site

2003-12-08 Thread Justin Patrin
Ralph Guzman wrote: = THE END = I apologize, everyone. I should have realized a while ago that this would become a holy war. -- paperCrane Justin Patrin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: post an array into another site

2003-12-08 Thread Manuel Lemos
Hello, On 12/09/2003 01:55 AM, Chris Shiflett wrote: I can make a guess as to why he would say this, aside from the obvious fact that one is part of the PHP project and one is not. And? Does that meant that all the 130.000+ subscribers of the PHP Classes site are all wrong and you are one that

Re: [PHP] Re: post an array into another site

2003-12-08 Thread Chris Shiflett
--- Manuel Lemos [EMAIL PROTECTED] wrote: If your publisher contacts me to ask to review your books, I will point them to the archives of this thread so they decide if a book written by PHP Classes site hater like yourself deserves to be reviewed in the site. I'll leave you to your own

[PHP] Why Imap_open takes a so long time delay???

2003-12-08 Thread alsoran
hi I have worked with imap functions for a long time . When I use imap_open connecting to a imap server ,it always takes a 20 second delay. I use like this : ?php $mbox = imap_open({202.200.0.8:143}INBOX,user,pass); imap_close($mbox); ? why this happen? --http://www.eyou.com

Re: [PHP] Re: Random Numbers..

2003-12-08 Thread Curt Zirzow
* Thus wrote Burrito Warrior ([EMAIL PROTECTED]): This would: /* selecting a random record, where n = 1. Works fine on small tables */ mysql SELECT value FROM table ORDER BY RAND() LIMIT n; /* selecting a random record. This is good on large tables if numbering sequence is used */

Re: [PHP] goto label

2003-12-08 Thread Curt Zirzow
* Thus wrote Nitin ([EMAIL PROTECTED]): Hi all, I was wondering, if there's any way to achieve 'goto label:' using PHP The closest you'll get to label's in php is the break statement. while (loop) { while (loop) { break 2; // leave 2 loops } while (loop) { break; // leave

[PHP] Re: goto label

2003-12-08 Thread Justin Patrin
Nitin wrote: Hi all, I was wondering, if there's any way to achieve 'goto label:' using PHP Thanx for ur time Nitin goto is a very old and broken way of coding. If you ever find yourself in need of a goto, you should re-evaluate how you're doing things. If you're having trouble finding out

Re: [PHP] Re: goto label

2003-12-08 Thread Robert Cummings
On Tue, 2003-12-09 at 00:32, Justin Patrin wrote: Nitin wrote: Hi all, I was wondering, if there's any way to achieve 'goto label:' using PHP Thanx for ur time Nitin goto is a very old and broken way of coding. If you ever find yourself in need of a goto, you should

Re: [PHP] PHP My SQL vs ASP.NET SQL 2000 Server

2003-12-08 Thread Curt Zirzow
* Thus wrote Ryotaro Ishikawa MD ([EMAIL PROTECTED]): Hi, I am a MD, involved in a very large medical project that requieres a strong database plataform, the project must be .NET , the estimated transactional movement is about 40 on line users accesing a DB with a 200 relational tables.

Re: [PHP] Re: goto label

2003-12-08 Thread Justin Patrin
Robert Cummings wrote: On Tue, 2003-12-09 at 00:32, Justin Patrin wrote: Nitin wrote: Hi all, I was wondering, if there's any way to achieve 'goto label:' using PHP Thanx for ur time Nitin goto is a very old and broken way of coding. If you ever find yourself in need of a goto, you should

Re: [PHP] Re: goto label

2003-12-08 Thread Robert Cummings
On Tue, 2003-12-09 at 00:51, Justin Patrin wrote: Robert Cummings wrote: Goto line number is a very broken way of coding. Goto label is a very useful and structured way of coding especially when creating fast FSMs for parsing. I was a little disappointed a few months ago when I found

[PHP] problem with INSERT query

2003-12-08 Thread irinchiang
Hi all, I am trying to do a simple INSERT data into the database using the following php script but the problem here is that whenever I click submit, the script only insert a NULL value into the columns into the datadase instead the value I enter in the forms fieldSELECT query was