Re: FW: [PHP] Accessing a Char in an Array

2004-12-21 Thread Curt Zirzow
* Thus wrote Justin Palmer: > Why is substr all over the board in how fast it processes the same > string? Is it the server? Benchmarking can be a funny thing. Usually benchmarks take an average of serveral thousand iterations in order to find the average time it take something to do. Benchmarki

Re: [PHP] PHP and Post Data

2004-12-21 Thread Shane Mc Cormack
I have my own reasons for wanting to write my own webserver, but thats not the point here. I just need/want to know how to tell the PHP.exe what the POST variables are. - Shane Travis Conway wrote: Why reinvent the wheel by writing your own webserver? Apache allows for it to be used within oth

Re: [PHP] PHP and Post Data

2004-12-21 Thread Travis Conway
Why reinvent the wheel by writing your own webserver? Apache allows for it to be used within other products. Just redistrbute it according to the license. - Original Message - From: "Shane Mc Cormack" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 21, 2004 10:36 PM

RE: FW: [PHP] Accessing a Char in an Array

2004-12-21 Thread Justin Palmer
Why is substr all over the board in how fast it processes the same string? Is it the server? Kind regards, Justin > -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 21, 2004 8:58 PM > To: [EMAIL PROTECTED] > Cc: PHP-General; 'Curt Zirzow' >

Re: [PHP] "No input file specified." error.

2004-12-21 Thread Francisco Javier Escoppinichi Fernandez
Curt Zirzow escribió: * Thus wrote Francisco Javier Escoppinichi Fernandez: Hi Curt, * Thus wrote Francisco Javier Escoppinichi Fernandez: Hello people. I got a little problem here, and I already searched on Google for possible solutions, but I still can't figure how to fix it. I'm developing a C

Re: FW: [PHP] Accessing a Char in an Array

2004-12-21 Thread Robert Cummings
On Tue, 2004-12-21 at 23:47, Justin Palmer wrote: > *Sorry Curt for sending this to you.* > > Hi, > > Well if any one is interested in the speed I set up an example that you > can go to. Though, when I run the example substr() is very neurotic (or > it seems that it is to me). It can process the

FW: [PHP] Accessing a Char in an Array

2004-12-21 Thread Justin Palmer
*Sorry Curt for sending this to you.* Hi, Well if any one is interested in the speed I set up an example that you can go to. Though, when I run the example substr() is very neurotic (or it seems that it is to me). It can process the same line of code at a lot of different intervals, while access

Re: [PHP] PHP and Post Data

2004-12-21 Thread Shane Mc Cormack
That works on a normal webserver yes. However, I am programming my own, and I have the Posted Data stored in the memory of the webserver, and when i execute the PHP.exe i need to tell it what the PostData is somehow. - Shane John Nichel wrote: Shane Mc Cormack wrote: Hi I'm trying to integrate P

Re: [PHP] PHP and Post Data

2004-12-21 Thread John Nichel
Shane Mc Cormack wrote: Hi I'm trying to integrate PHP Support into a basic webserver i am creating for personal use (Windows). However i've run into a problem. I've got the _GET vars working, (using the QUERY_STRING Environment Variable), yet i can't figure out how to get the _POST vars set. m

[PHP] PHP and Post Data

2004-12-21 Thread Shane Mc Cormack
Hi I'm trying to integrate PHP Support into a basic webserver i am creating for personal use (Windows). However i've run into a problem. I've got the _GET vars working, (using the QUERY_STRING Environment Variable), yet i can't figure out how to get the _POST vars set. my webserver has the POST

Re: [PHP] layers

2004-12-21 Thread Jussi Mäkilä
I think i had a similar kind of problem as you described here. I used a layer as a container for the other layers that had the content in them. Then i just centered the container and used absolute positionings on the inner layers. The simplified code might look something like this: your site bod

Re: [PHP] "No input file specified." error.

2004-12-21 Thread Curt Zirzow
* Thus wrote Francisco Javier Escoppinichi Fernandez: > Hi Curt, > > >* Thus wrote Francisco Javier Escoppinichi Fernandez: > > > >>Hello people. > >> > >>I got a little problem here, and I already searched on Google for > >>possible solutions, but I still can't figure how to fix it. > >> > >>I'm

Re: [PHP] "No input file specified." error.

2004-12-21 Thread Francisco Javier Escoppinichi Fernandez
Hi Curt, * Thus wrote Francisco Javier Escoppinichi Fernandez: Hello people. I got a little problem here, and I already searched on Google for possible solutions, but I still can't figure how to fix it. I'm developing a CMS Application on PHP. On my dev machine I'm running Apache 1.3.33 + PHP 4.3.

Re: [PHP] Setting or Getting Relative Path for PHP Includes

2004-12-21 Thread Curt Zirzow
* Thus wrote Anthony Baker: > Hey Folks, > > Hoping someone can aid me with a newbie-ish question. > > I often use PHP includes in my files to pull in assets, but I hard code > the relative path to the root html directory for the sites that I'm > working on in each file. Example below: > > $

Re: [PHP] "No input file specified." error.

2004-12-21 Thread Curt Zirzow
* Thus wrote Francisco Javier Escoppinichi Fernandez: > Hello people. > > I got a little problem here, and I already searched on Google for > possible solutions, but I still can't figure how to fix it. > > I'm developing a CMS Application on PHP. On my dev machine I'm running > Apache 1.3.33 + P

Re: [PHP] Accessing a Char in an Array

2004-12-21 Thread Curt Zirzow
* Thus wrote Justin Palmer: > In an earlier thread labeled "first letter", it was suggested that > substr() be used. Just for the record the usage of $str = 'a string'; $str[0]; Is strongly discouraged, it is recommended to use: $str{0}; See Section (String access and modification by ch

[PHP] Re: curl CUSTOMREQUEST

2004-12-21 Thread Manuel Lemos
Hello, on 12/21/2004 05:10 PM Juan Nin said the following: I saw a post at http://www.php.net/manual/en/ref.curl.php where it says: "Using the customrequest for a complete post is wrong. Libcurl will add a partial url, the http version and the standard headers after the post data - while this works

Re: [PHP] can I compile php source

2004-12-21 Thread John Nichel
Justin Palmer wrote: Not to start flame war about meat, but: Do people still eat beef? Yuk. "Teach a man to pick soy beans..." :) -- much healthier alternative... (Da** I told myself not to post on this thread, thanks Matthew ;) ) Those poor defenseless soy beans. ;) -- By-Tor.com ...it's all abou

Re: [PHP] OT Re: [PHP] can I compile php source

2004-12-21 Thread John Nichel
John Holmes wrote: From: "Larry E. Ullman" <[EMAIL PROTECTED]> Do you honestly think people are learning __anything__ when you reply with a "Yes"? Yes. You used to be so nice and polite. ;) -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.p

Re: [PHP] Super newbie question....

2004-12-21 Thread Lars B. Jensen
First of all, use Second, you dont need the two lines, write the following to get the space And you should have your nicely formatted name right there / LJ www.ljweb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] layers

2004-12-21 Thread Brad Ciszewski
The problem I am having doesn't exactly use PHP but, if you guys would help me out anyways, I would be very greatful. Problem: I am using an image for the layout of the website. The image is centered. I am trying to use a layer for the spots where content needs to be added. However, depending on t

Re: [PHP] Re: Encryption

2004-12-21 Thread Darren Wheatley
Richard, Thanks for your help. The code (as I mentioned) was not mine. I did however find the example from the link you sent me to and followed that. It works quite well. Again, thanks for your time. Darren "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >> I hav

Re: [PHP] can I compile php source

2004-12-21 Thread Darren Wheatley
I can't believe you can spend so much energy on this flame/agrovated response crap when a small amount of that energy would have simply answered this guys question. No wonder there is so much war. Mostly started by people who know how to be self sufficient. Don't worry. In 100 years we will all be

[PHP] "No input file specified." error.

2004-12-21 Thread Francisco Javier Escoppinichi Fernandez
Hello people. I got a little problem here, and I already searched on Google for possible solutions, but I still can't figure how to fix it. I'm developing a CMS Application on PHP. On my dev machine I'm running Apache 1.3.33 + PHP 4.3.9 as a module, and on my production machine i'm running Apache

Re: [PHP] Sort by string length...

2004-12-21 Thread David Otton
On Tue, 21 Dec 2004 16:18:52 -0500 (EST), you wrote: >Any idea how to sort an array by string length? You write a function that compares two strings (A and B), and returns 0 if len(A) == len(B), -1 if len(A) < len(B) or +1 if len(A) > len(B). function compare_by_length ($a, $b) { $la = strle

Re: [PHP] Sort by string length...

2004-12-21 Thread tg-php
Is it an associative array? That is, are you assigning values like this: Method 1: $arr[] = "some text string"; or $arr = array("some text string","some text string too"); or like this... Method 2: $arr["value1"] = "some text string"; or $arr1 = array("value1"=>"some text string","value2"=>"som

[PHP] Re: Newbie, easy question...

2004-12-21 Thread Ben
Garyh wrote: Below is a simple php file that recieves input from a form html file. The php file outputs the first and last name, but their is no space between the names. Does anyone know how I can get a space between name in the php file? As a minimum this will work: print(""$fusername." ".$lus

Re: [PHP] Sort by string length...

2004-12-21 Thread ApexEleven
How about iterating though the strings and putting string values and lengths in an array: [begin untested code] $strings = array('i','am','who'); $string_count = array(); foreach ($strings as $string) { $string_count['value'][] = $string; $string_count['length'][] = strlen($string); } array_mult

Re: [PHP] help with coding #3

2004-12-21 Thread John Holmes
> From: "karl james" <[EMAIL PROTECTED]> > Ok I will try the links again, sorry about the hassel, Did I miss the first part of this message? > http://www.theufl.com/movie_details.phps > > website > > http://www.theufl.com/php/wrox_php/movie_details.php > > Are you able to tshoot it and see w

Re: [PHP] can I compile php source OT

2004-12-21 Thread Raditha Dissanayake
Danny Brow wrote: Wow I just wasted 10 minutes of my day reading half these post. This is one long thread. And man is it hard to follow. exactly why we don't want people posting off topic stuff here. Dan. -- Raditha Dissanayake. --

Re: Re: [PHP] String parsing issue in PHP 4.3.10?

2004-12-21 Thread John Holmes
> You will notice > that the previous line also contains a '?>' sequence, so I'm confused > as to why this would "die" on one line but not the other? Or is this > some freak combination of comments and PHP tags? :-o It is, I guess. '; $b = ' ?> '; ?> will work just fine. If you try to com

[PHP] Newbie, easy question...

2004-12-21 Thread GaryH
Below is a simple php file that recieves input from a form html file. The php file outputs the first and last name, but their is no space between the names. Does anyone know how I can get a space between name in the php file? TIA, Gary Hi User PHP program that receives a value from "whatsNa

[PHP] Super newbie question....

2004-12-21 Thread GaryH
Hello all, Please see the simple php program below. It recieves input from an html file form that outputs a clients first name and then last name. My problem is this, I cannot figure out how to get a 'space' to print out between the first and last name Any advise or thoughts for this php green

Re: [PHP] Sort by string length...

2004-12-21 Thread Chris
One of the Array sort functions? http://www.php.net/usort Russell P Jones wrote: Any idea how to sort an array by string length? Russ Jones -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sort by string length...

2004-12-21 Thread Jason Wong
On Wednesday 22 December 2004 05:18, Russell P Jones wrote: > Any idea how to sort an array by string length? usort(), strlen() -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development

Re: [PHP] can I compile php source

2004-12-21 Thread Bruce Douglas
now guys/ladies.. this was funny! and can we move on... ! -Original Message- From: Matthew Sims <[EMAIL PROTECTED]> Sent: Dec 21, 2004 1:35 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] can I compile php source > On Wednesday 22 December 2004 01:37, Paul Aviles wrote: >> Guys, this

Re: [PHP] String parsing issue in PHP 4.3.10?

2004-12-21 Thread Jason Wong
On Wednesday 22 December 2004 03:53, Richard Lynch wrote: > ?> can be caught by PHP as the end of PHP mode, no matter where you put it > in a string or not. You can't be serious? Or have I misunderstood you? '; ?> Works as expected, ie displays "". -- Jason Wong -> Gremlins Associates -> ww

RE: [PHP] can I compile php source

2004-12-21 Thread Justin Palmer
[quote] >> On Wednesday 22 December 2004 01:37, Paul Aviles wrote: >>> Guys, this is trivial. It takes the same effort to provide the answer >>> to whoever this guy was, than to lecture him on how to think. >> >> "Teach a person to fish ..." >> >> -- >> Jason Wong -> Gremlins Associates -> www.gre

Re: [PHP] Re: How to set register_globals=off in the script?

2004-12-21 Thread Jason Wong
On Wednesday 22 December 2004 05:08, Jason Barnett wrote: > Jerry Swanson wrote: > > So I want to keep PHP register_globals=on in php.ini, but in local > > files set to off? > > > > How I can do this? > > You can change this, and other php.ini directives, with the PHP function > ini_set No you ca

Re: [PHP] can I compile php source

2004-12-21 Thread Jason Wong
On Wednesday 22 December 2004 05:35, Matthew Sims wrote: > You know, I bet that man is getting sick of eating fish all the time. You don't have to fish for fish, you can fish for old boots if you want a change in diet :-) > "Teach a man to shoot a cow..." What and get mad cows disease? -- Ja

Re: [PHP] Sort by string length...

2004-12-21 Thread Tom Rogers
Hi, Wednesday, December 22, 2004, 7:18:52 AM, you wrote: RPJ> Any idea how to sort an array by string length? RPJ> Russ Jones With a user defined sorting function something like this -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] OT Re: [PHP] can I compile php source

2004-12-21 Thread Jason Wong
On Wednesday 22 December 2004 04:51, Jason Barnett wrote: > > So, seriously, if you don't feel like helping or you don't believe that > > a message should be posted here because it's off topic or you don't > > believe that a question was phrased properly, wouldn't it be better for > > everyone if y

RE: [PHP] Sort by string length...

2004-12-21 Thread Michael Sims
Russell P Jones wrote: > Any idea how to sort an array by string length? Use usort() in conjunction with a user defined function that compares the length of both strings using strlen(). If brevity at the (possible) expense of clarity is your thing, you can even use create_function() as your call

RE: [PHP] Re: How to set register_globals=off in the script?

2004-12-21 Thread Michael Sims
Jason Barnett wrote: >> So I want to keep PHP register_globals=on in php.ini, but in local >> files set to off? >> >> How I can do this? > > You can change this, and other php.ini directives, with the PHP > function ini_set register_globals cannot be changed with ini_set(). It is of type "PHP_IN

Re: [PHP] Re: How to set register_globals=off in the script?

2004-12-21 Thread John Holmes
From: Jason Barnett <[EMAIL PROTECTED]> > Jerry Swanson wrote: > > I have PHP 5.1, is it possible in the code set register_globals=off > > for specific scripts. > > You can change this, and other php.ini directives, with the PHP function > ini_set No, you can't. register_globals cannot be set wi

Re: [PHP] How to set register_globals=off in the script?

2004-12-21 Thread John Holmes
> From: Jerry Swanson <[EMAIL PROTECTED]> > I know that "register_globals = on" is not secure. bah... you can write secure scripts with it on or off. having it off by default simply helps to lessen some of the security issues that new programmers may not be aware of. > But one program > requ

Re: [PHP] How to set register_globals=off in the script?

2004-12-21 Thread Sebastian
if the script isn't that big you can probably use extract() in most cases.. is the script in its own directory? if so you can turn register globals on just for that one directory.. create an .htaccess file and add: php_value register_globals on then place the .htaccess in the directory where the

Re: [PHP] How to set register_globals=off in the script?

2004-12-21 Thread Matt M.
> I know that "register_globals = on" is not secure. But one program > requires to use register_globals=on. So in php.ini register_globals is > set to on. > > I have PHP 5.1, is it possible in the code set register_globals=off > for specific scripts. > > So I want to keep PHP register_globals=on

Re: [PHP] How to set register_globals=off in the script?

2004-12-21 Thread Jordi Canals
On Tue, 21 Dec 2004 14:56:03 -0500, Jerry Swanson <[EMAIL PROTECTED]> wrote: > I know that "register_globals = on" is not secure. But one program > requires to use register_globals=on. So in php.ini register_globals is > set to on. > > I have PHP 5.1, is it possible in the code set register_globa

Re: Re: [PHP] OT Re: [PHP] can I compile php source

2004-12-21 Thread John Holmes
> From: "Larry E. Ullman" <[EMAIL PROTECTED]> > Do you honestly think people are learning __anything__ > when you reply with a "Yes"? Yes. ---John Holmes... UCCASS - PHP Survey System http://www.bigredspark.com/survey.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] How to set register_globals=off in the script?

2004-12-21 Thread Christopher Fulton
Yes and no... Here's what the manual has to say about this...Basically, you can't do it using ini_set, but you can do it using an htaccess file. http://us2.php.net/manual/en/ini.sect.data-handling.php#ini.register-globals register_globals boolean Whether or not to register the EGPCS (Enviro

[PHP] help with coding #3

2004-12-21 Thread karl james
Team, Ok I will try the links again, sorry about the hassel, gee do I sound like a rookie coming up >From the minor leagues or want. Anyway, Here are the links. Phps file http://www.theufl.com/movie_details.phps website http://www.theufl.com/php/wrox_php/movie_details.php on my

Re: [PHP] can I compile php source

2004-12-21 Thread Larry E . Ullman
Guys, this is trivial. It takes the same effort to provide the answer to whoever this guy was, than to lecture him on how to think. "Teach a person to fish ..." That's a good and true adage and certainly a philosophy to be put forth by this list. But, the question is, does an answer of "Yes" teac

Re: [PHP] can I compile php source

2004-12-21 Thread Matthew Sims
> On Wednesday 22 December 2004 01:37, Paul Aviles wrote: >> Guys, this is trivial. It takes the same effort to provide the answer to >> whoever this guy was, than to lecture him on how to think. > > "Teach a person to fish ..." > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz You kn

[PHP] Sort by string length...

2004-12-21 Thread Russell P Jones
Any idea how to sort an array by string length? Russ Jones -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to set register_globals=off in the script?

2004-12-21 Thread Jason Barnett
Jerry Swanson wrote: I know that "register_globals = on" is not secure. But one program requires to use register_globals=on. So in php.ini register_globals is set to on. I have PHP 5.1, is it possible in the code set register_globals=off for specific scripts. So I want to keep PHP register_globals=

Re: [PHP] disable_functions per vhost on apache

2004-12-21 Thread John Nichel
Eduardo M. Bragatto wrote: Hi folks, according to this old message [http://www.mail-archive.com/php-general@lists.php.net/msg87293.html] it's not possible to use "php_value disable_functions" on Apache's vhost. Since this message is two years old I would like to know if it's still being

Re: [PHP] OT Re: [PHP] can I compile php source

2004-12-21 Thread Jason Barnett
So, seriously, if you don't feel like helping or you don't believe that a message should be posted here because it's off topic or you don't believe that a question was phrased properly, wouldn't it be better for everyone if you just didn't respond? It'd certainly be easier. I can agree with you

Re: [PHP] OT Re: [PHP] can I compile php source

2004-12-21 Thread John Nichel
Larry E. Ullman wrote: While "Yes" may be a technically accurate answer to a question like "Can I ..." or "Can anyone ...", a couple of points must be acknowledged: 1) Such an answer doesn't help the original poster. Period. And the purpose of a resource like this is to help, right? Even a "RTFM

Re: [PHP] email form results

2004-12-21 Thread Richard Lynch
Ken Bolton wrote: > Is there a simple way to send the results of a form to an email address? I > have created a form with multiple categories of radio boxes and I have > created a response PHP file that will give the user a confirmation. I'm > just > not sure how to send the results through email.

[PHP] How to set register_globals=off in the script?

2004-12-21 Thread Jerry Swanson
I know that "register_globals = on" is not secure. But one program requires to use register_globals=on. So in php.ini register_globals is set to on. I have PHP 5.1, is it possible in the code set register_globals=off for specific scripts. So I want to keep PHP register_globals=on in php.ini, but

Re: [PHP] String parsing issue in PHP 4.3.10?

2004-12-21 Thread Richard Lynch
Steve Brown wrote: > I'm working on a script that will parse through a long string using > regexs to pattern match a certain format. I'm having an issue with a > '?>' in a string being picked up as an end-of-code character, but only No need to run it. ?> can be caught by PHP as the end of PHP mo

Re: [PHP] email form results

2004-12-21 Thread Miles Thompson
Assemble all of your data into the message body (see $message below) and mail it to yourself. How you trigger this processing and the call to the mail() function depends on how you've constructed your logic. $message .= $name ."\n"; $message .= $phone . "\n"; $message .= $email; mail( "[EMAIL P

Re: [PHP] OT Re: [PHP] can I compile php source

2004-12-21 Thread Richard Lynch
Matthew Sims wrote: > I promised myself that I wouldn't get in the middle of any flame wars but > I just had to say something about my experience. > > The day I stopped looking for free handouts and became self-sufficient in > my ability to find the answers myself was the day someone told me to RTF

Re: [PHP] checking file type on upload

2004-12-21 Thread Richard Lynch
Sebastian wrote: > i have an upload form which i would only like to allow compressed zip > files > and rar files to be uploaded. currently i use > > if ($_FILES['userfile']['type'] != 'application/x-zip-compressed') > > which only seems to work in IE, doesn't work in mozila (haven't tried > oth

RE: [PHP] email form results

2004-12-21 Thread phpninja
http://www.php.net/mail -phpninja -Original Message- From: Ken Bolton [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 21, 2004 10:11 AM To: [EMAIL PROTECTED] Subject: [PHP] email form results Is there a simple way to send the results of a form to an email address? I have created a for

Re: [PHP] Setting or Getting Relative Path for PHP Includes

2004-12-21 Thread Richard Lynch
Anthony Baker wrote: > I often use PHP includes in my files to pull in assets, but I hard code > the relative path to the root html directory for the sites that I'm > working on in each file. Example below: While I happen to think using include_path and $_SERVER is a better solution to setting up

Re: [PHP] Error with system() when running convert

2004-12-21 Thread Jonathan Schwarz
There's a cool utility at: http://freespace.sourceforge.net/errno/index.html Of course, errno 127 is 'unknown error', so it wouldn't have been a huge help. On Tue, 21 Dec 2004 11:00:05 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]> wrote: > > with anything else. Has anyone run across error 127

Re: [PHP] imap_mail problems

2004-12-21 Thread Richard Lynch
Paul Aviles wrote: > Hello, I am having problems with this code below. The system is a FC1 > server > and it is supposed to send an email collecting some information of a > computer. The problem I am having is with the "<" and ">" characters. When > the $header variable is created, it does not work

Re: [PHP] php terminal.

2004-12-21 Thread Richard Lynch
adwin wijaya wrote: > Since my webhosting didnt provide me with telnet access, I would like to > have a small software that created by php to do some bash function such > as lynx, ls etc ? If a new host is not possible for political or other reasons, and if your host wasn't smart enough to turn it

Re: [PHP] String parsing issue in PHP 4.3.10?

2004-12-21 Thread Steve Brown
> Quote: The one-line comment styles actually only comment to the end of the > line or the current block of PHP code, whichever comes first. This means that > HTML code after // ?> WILL be printed: ?> skips out of the PHP mode and > returns to HTML mode, and // cannot influence that. If asp_tag

Re: [PHP] Help wth coding

2004-12-21 Thread Richard Lynch
> http://www.theufl.com/php/wrox_php/movie_details10.php Copy movie_details10.php into movie_details10.phps (with an 's' on the end) and then we can surf to your source and tell you something useful. Or, copy and paste your soure up to the line with the error to the list. We sure can't help you

[PHP] curl CUSTOMREQUEST

2004-12-21 Thread Juan Nin
I saw a post at http://www.php.net/manual/en/ref.curl.php where it says: "Using the customrequest for a complete post is wrong. Libcurl will add a partial url, the http version and the standard headers after the post data - while this works with a non-persistent connection and an apache web server

Re: [PHP] Re: Encryption

2004-12-21 Thread Richard Lynch
>> I have found some code and set up a test bed for it, but it fails to > return >> the same value after the 26th item. I was hoping someone could take a >> look >> and maybe tell me why? There is very little help out there for >> encryption. >> If you know of a working example/tutorial, can you pl

Re: [PHP] disable_functions per vhost on apache

2004-12-21 Thread Jason Wong
On Wednesday 22 December 2004 02:42, Eduardo M. Bragatto wrote: > according to this old message > [http://www.mail-archive.com/php-general@lists.php.net/msg87293.html] > it's not possible to use "php_value disable_functions" on Apache's vhost. > Since this message is two years old I would like t

Re: [PHP] Error with system() when running convert

2004-12-21 Thread Richard Lynch
> with anything else. Has anyone run across error 127 from system, or > have any idea what's going on? For future reference, find a convenient way to look up 127 error code number in your OS. "man errno" is sort of okay in most Un*xes, except then you have to count 127 lines down to get the right

Re: [PHP] External scripts in safe mode

2004-12-21 Thread Richard Lynch
Chadwin Tom wrote: > If this is an inappropriate place to seek help, many apologies, and where > might I try? > > I have a PHP 4.1.2 script on Red Hat (Apache 1.3.27) which calls an > external script (Tidy, from tidy.sourceforge.net). It is called via > popen() so that I can pipe through some argum

Re: [PHP] This list is dying: was:can I compile php source OT

2004-12-21 Thread John Nichel
John Holmes wrote: Whoever this "John Nichel" character is though should be banned... ;) I've been banned from a barroom here and there...does that count? BTW, since you only post once in a blue moon these days, you've dropped back down to newbie status. ;) -- John C. Nichel ÜberGeek KegWorks.co

Re: [PHP] can I compile php source

2004-12-21 Thread Jason Wong
On Wednesday 22 December 2004 01:37, Paul Aviles wrote: > Guys, this is trivial. It takes the same effort to provide the answer to > whoever this guy was, than to lecture him on how to think. "Teach a person to fish ..." -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Softwa

RE: [PHP] can I compile php source OT

2004-12-21 Thread Danny Brow
Wow I just wasted 10 minutes of my day reading half these post. This is one long thread. And man is it hard to follow. Dan. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] String parsing issue in PHP 4.3.10?

2004-12-21 Thread Jason Wong
On Wednesday 22 December 2004 01:12, Steve Brown wrote: > I'm working on a script that will parse through a long string using > regexs to pattern match a certain format. I'm having an issue with a > '?>' in a string being picked up as an end-of-code character, but only > if the line before it is

Re: [PHP] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Richard Lynch
Eakin, W wrote: > Hello, > This question could be seen as a general programming question, but > because PHP is what I know best, I'll ask it here. > > A good friend of mine is the person who got me more interested in > programming as a career. She's a professional COBOL programmer, and > works

Re: [PHP] OT Re: [PHP] can I compile php source

2004-12-21 Thread Larry E . Ullman
While "Yes" may be a technically accurate answer to a question like "Can I ..." or "Can anyone ...", a couple of points must be acknowledged: 1) Such an answer doesn't help the original poster. Period. And the purpose of a resource like this is to help, right? Even a "RTFM" or "search Google"

Re: [PHP] imap_mail problems

2004-12-21 Thread abrea
May I suggest that you use PHP's mail() function and avoid the problem altogether. The format is much the same as the one you are using. Alberto Brea [EMAIL PROTECTED] -Original Message- From: "Paul Aviles" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Date: Mon, 20 Dec 2004 20:00:22 -0500

Re: [PHP] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Robert Cummings
On Tue, 2004-12-21 at 12:26, Christopher Fulton wrote: > Anyways, to answer your question, I spend about 30% of my time writing > new code and about 70% of my time working on legacy code. Of course, > often due to lacking comments most of the time spent with old code is > just trying to figure out

Re: [PHP] couldnt backup database

2004-12-21 Thread Richard Lynch
Sagar C Nannapaneni wrote: > I've a table in my database with 1 lakh records using a disk space of > around 50Mb. I wanted to download the records. I used phpmyadmin (coz my > hosting provider doesnt allow remote access to my db) to export the > database but its not working for larger databases. I

Re: [PHP] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Robby Russell
On Tue, 2004-12-21 at 11:41 +0100, Eakin, W wrote: > Hello, > This question could be seen as a general programming question, but > because PHP is what I know best, I'll ask it here. > > A good friend of mine is the person who got me more interested in > programming as a career. She's a profe

[PHP] Re: email form results

2004-12-21 Thread M. Sokolewicz
Ken Bolton wrote: Is there a simple way to send the results of a form to an email address? I have created a form with multiple categories of radio boxes and I have created a response PHP file that will give the user a confirmation. I'm just not sure how to send the results through email. I've check

Re: [PHP] Using encrypted passwords (what we would like to achieve)

2004-12-21 Thread Richard Lynch
symbulos partners wrote: > What we would like to achieve? > > If a malicious user finds a way of entering of accessing the docroot (rwx) > of a website with CMS (PHP + MySQL), we would like to have further barrier > to him accessing the Mysql database. > > We had some problem with one hacker using

[PHP] email form results

2004-12-21 Thread Ken Bolton
Is there a simple way to send the results of a form to an email address? I have created a form with multiple categories of radio boxes and I have created a response PHP file that will give the user a confirmation. I'm just not sure how to send the results through email. I've checked the documentati

Re: [PHP] String parsing issue in PHP 4.3.10?

2004-12-21 Thread John Holmes
> From: Steve Brown <[EMAIL PROTECTED]> > Unexpected results: > If line 16 (indicated below) is commented out, the '?>' in the string > on line 17 makes PHP stop parsing and the rest of the script is simply > dumped to stdout. If line 16 is NOT commented out, the '?>' is NOT > picked up as being

Re: [PHP] Liveticker problem

2004-12-21 Thread Richard Lynch
Ross Hulford wrote: > Her is the code (not mine) what I am trying to so is cut out all the > header > info that is included in the message as shown here > http://supercool-74.com/sms/liveticker.php Granted, it's 5 hours later, but I'm not seeing anything much at that URL... > The message is suppo

Re: [PHP] can I compile php source OT

2004-12-21 Thread Jason Wong
On Tuesday 21 December 2004 23:34, Jay Blanchard wrote: It seems either Paul responded directly (and only) to Jay or I missed this message (by Paul): > the delivery is the problem not the thought process. > > people are trying to find answers not being lectured and reprimanded. > Many > people a

[PHP] disable_functions per vhost on apache

2004-12-21 Thread Eduardo M. Bragatto
Hi folks, according to this old message [http://www.mail-archive.com/php-general@lists.php.net/msg87293.html] it's not possible to use "php_value disable_functions" on Apache's vhost. Since this message is two years old I would like to know if it's still being true. I have to allow system() f

Re: [PHP] can I compile php source

2004-12-21 Thread Paul Aviles
Guys, this is trivial. It takes the same effort to provide the answer to whoever this guy was, than to lecture him on how to think. "this question has been answered before, use google and do a search for " and "follow this link before posting as it may help you in the future" I am not tryi

Re: [PHP] This list is dying: was:can I compile php source OT

2004-12-21 Thread John Holmes
> Subject: [PHP] This list is dying: Wait.. has Netcraft confirmed it? FYI, I don't think the list is any different... ups and downs...it's always the same questions, flamers, newbies, etc. All that changes are the names. Whoever this "John Nichel" character is though should be banned... ;)

Re: [PHP] can I compile php source

2004-12-21 Thread Jason Wong
On Wednesday 22 December 2004 01:00, Bruce Douglas wrote: > after looking at the msgs on this list for this thread... > > i'm curious. if you see an email that you don't want to respond to, why > can't you simply choose not to respond to it, and ignore the msg. It's probably because they *do* want

Re: [PHP] Using encrypted passwords (what we would like to achieve)

2004-12-21 Thread Jason Wong
On Tuesday 21 December 2004 20:06, symbulos partners wrote: > What we would like to achieve? > > If a malicious user finds a way of entering of accessing the docroot (rwx) > of a website with CMS (PHP + MySQL), we would like to have further barrier > to him accessing the Mysql database. Like I sai

[PHP] Re: OT Re: [PHP] can I compile php source

2004-12-21 Thread Jason Barnett
The day I stopped looking for free handouts and became self-sufficient in my ability to find the answers myself was the day someone told me to RTFM a few years ago. It was a friend of mine and it was a little hurtful. But he was right! The answer was right in the man page. Then I felt stupid for as

Re: [PHP] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Christopher Fulton
Honestly, I think it does depend a lot on the language you are using. >From my experience, most people who work in PHP tend to write more new code than those who use COBOL. [snip] There are *so* many legacy COBOL applications though that, yeah, I think a COBOL programmer will very rarely get to wr

  1   2   >