[PHP] php script

2001-01-09 Thread Devin Atencio
I have a PHP Script that runs in cron and does some database searches. Every now and then I notice that my FreeBSD box bitches about the following: chsh: updating the database... chsh: done msql: not found that is coming from my script. My script doesn't do anything with chsh so not sure why it

[PHP] PHP script

2002-05-25 Thread r
Hi Guys, I need a PHP script that will allow me to upload/download chmod files etc on a remote server... I know there are loads of these scripts out there but being a newbie to PHP I really dont know which one is good... can you recomend any? coming from Java I love PHP so would appreciate if you

[PHP] PHP script

2002-05-25 Thread r
Hi Guys, I need a PHP script that will allow me to upload/download chmod files etc on a remote server... I know there are loads of these scripts out there but being a newbie to PHP I really dont know which one is good... can you recomend any? coming from Java I love PHP so would appreciate

[PHP] PHP Script

2003-02-24 Thread Stephen Craton
Hello all, Very sorry if this is spam, but we all need some meat now and then, right? ;-) Anyway, some of you may recognize me as being the horrible PHP coder that has so many errors he can't get past the echo command. Others may know me as the math maniac for asking so many math related PHP func

[PHP] PHP script locations

2001-03-18 Thread Paul O'Neil
Dumb question here but where does one typically keep there PHP form scripts, like web/index.htm images/image.jpg phpscripts/login.php cgi-bin/perlscript.pl secure/secureforms.here Is there a problem keeping everything in the WEB directory, is it a security issue or management of files issue? Bot

RE: [PHP] PHP script

2002-05-25 Thread SP
ge- From: r [mailto:[EMAIL PROTECTED]] Sent: May 25, 2002 7:00 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP script Hi Guys, I need a PHP script that will allow me to upload/download chmod files etc on a remote server... I know there are loads of these scripts out there but being a newbie t

Re: [PHP] PHP script

2002-05-25 Thread r
n too. Any ideas? -Ryan. - Original Message - From: "SP" <[EMAIL PROTECTED]> To: "r" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, May 25, 2002 5:30 AM Subject: RE: [PHP] PHP script > I'm not an expert but that doesn't sound lik

RE: [PHP] PHP script

2002-05-25 Thread SP
mailto:[EMAIL PROTECTED]] Sent: May 25, 2002 10:03 PM To: SP Cc: [EMAIL PROTECTED] Subject: Re: [PHP] PHP script Hey there, Guess you too are a newbie, anyway, have been doing what you think is impossible for years using perl and servlets without any problems, And I know its possible with PHP too, since

Re: [PHP] PHP script

2002-05-25 Thread Chris Hewitt
> >-Original Message- >From: r [mailto:[EMAIL PROTECTED]] >Sent: May 25, 2002 7:00 AM >To: [EMAIL PROTECTED] >Subject: [PHP] PHP script > > > Hi Guys, > > I need a PHP script that will allow me to >upload/download chmod files etc >on > a remote server... &

Re: [PHP] PHP script

2002-05-25 Thread r
AIL PROTECTED]> To: "r" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, May 25, 2002 6:38 AM Subject: RE: [PHP] PHP script > Okay how about in your upload form, try putting in > the whole url instead of upload.php. I don't know > if that would work

Re: [PHP] PHP script

2002-05-25 Thread Paul Roberts
2 3:33 PM Subject: Re: [PHP] PHP script > Ryan, > > I may be missing something as I have not been monitoring this thread, > but why not use ftp? It allows the file transfer and chmod. Perhaps its > not available on the server that you need it to be, but its the normal > way

[PHP] PHP Script Speed

2002-07-08 Thread Crane, Christopher
I have a question on speed but also dealing with the method of scripting. I have a few pages where I get things like weather and stocks. I get the data, which is usually in the form of a Comma delimited string like the stock quotes from Yahoo.com. In the past, I also wrote a function to get the da

[PHP] php script ownership

2001-09-25 Thread Adam Plocher
Is there anyway I could make a PHP script run as the user that owns the script?

[PHP] Php Script Stumped!

2006-04-05 Thread marvin hunkin
Hi. doing this script for an assignment, and got it basically working. the only problems are: 1. wen i load the user form, the focus goes to the login button, and not the first form field. did try putting one it, did not like it. so how do i do this? is there a basic dom example, how to set fo

[PHP] PHP Script Encryption!!!!

2003-02-10 Thread Pankaj Naug
hiii!! 1. can anyone help me out with php script encryption.. are there any freeware which i can use to encrypt my php scripts. 2. have anybody has any ready made code which take's a directory path and uses linux shell command to execute them??? actually i want to use a shell command which

Re: [PHP] PHP Script

2003-02-24 Thread Stephen Craton
It may do some good to give you the URL to the website, won't it? Sorry... http://piw.melchior.us Thanks, Stephen Craton http://www.melchior.us - Original Message - From: "Stephen Craton" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Monday, February 24, 2003 3:04 PM Subj

Re: [PHP] PHP Script

2003-02-24 Thread Leo Spalteholz
Hm. Looks pretty nice. Cool page and the demos are pretty slick. But I can't really see what it would be useful for. Maybe I missed something but it seems to be a sort of InstallShield for php scripts. While this sounds like a good idea, its actually quite useless. What is normally involv

Re: [PHP] PHP Script

2003-02-24 Thread Stephen Craton
Stephen Craton http://www.melchior.us - Original Message - From: "Leo Spalteholz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 24, 2003 9:52 PM Subject: Re: [PHP] PHP Script Hm. Looks pretty nice. Cool page and the demos are pretty slick. But I can't

[PHP] php script for backlinks?

2002-05-12 Thread PeterV
http://www.iawiki.net/ReferrerLinking I'm looking for existing PHP scripts that generate a list of pages linking to your page. Anything already written out there? Thanks, Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Script Speed

2002-07-08 Thread Miguel Cruz
On Mon, 8 Jul 2002, Crane, Christopher wrote: > I hope I am explaining this well enough to understand. Doing it the newer > way for me with the global variables makes it easier to design the web page, > but I am wondering if it is at the cost of a slower page loading. The reason > I think this is

Re: [PHP] php script ownership

2001-09-25 Thread Steve Werby
"Adam Plocher" <[EMAIL PROTECTED]> wrote: > Is there anyway I could make a PHP script run as the user that owns the > script? Yes. Run it in CGI standalone mode. That's the default method for installing PHP, though it's probably not how yours is intalled. There was a thread a few hours ago whi

[PHP] Php script diagnostic app?

2007-06-17 Thread MIKE YRABEDRA
I was wondering if there was some kind of application that would process a php script, logging any functions (or classes) it encounters along the way. Logging times and memory use. I am trying to figure out what in a script slows it down so much. Any ideas? -- Mike Yrabedra B^)> -- PHP Gen

Re: [PHP] Php Script Stumped!

2006-04-06 Thread Brad Bonkoski
1. Look at this: http://javascript.internet.com/forms/form-focus.html 2. See Below 3. Take a look at this function: http://www.php.net/manual/en/function.date.php -B marvin hunkin wrote: Hi. doing this script for an assignment, and got it basically working. the only problems are: 1.

RE: [PHP] Php Script Stumped!

2006-04-06 Thread Jim Moseby
> Hi. Hi! > doing this script for an assignment, and got it basically working. > the only problems are: > Assignment, eh? Generally, folks on the PHP list will not do your homework for you. But I'll offer some light nudges in the right direction for you. > > 1. wen i load the user form, the

Re: [PHP] PHP Script Encryption!!!!

2003-02-10 Thread Jason Sheets
Hello Pankaj, With PHP you use libmcrypt and the PHP mcrypt functions to do encryption. Basically you need to install libmcrypt (you do not need mcrypt, just libmcrypt) and then add --with-mcrypt=/path/to/install (this is usually /usr/local) to your PHP configuration line. You can check to see i

Re: [PHP] PHP Script Encryption!!!!

2003-02-10 Thread Adam Voigt
Just incase you meant encrypt your php scripts and not encrypt with your php scripts, check out: http://www.ioncube.com/ Not free, but very cheap (they have a online encoder that charges by the amount of code, a simple app is less then $5.00). On Mon, 2003-02-10 at 10:04, Jason Sheet

[PHP] php script billing receipt

2003-07-13 Thread Duncan
Hi, I just finished a script for an US company and now have to provide them with a billing receipt stating my work and the price for it. google didn't come up with anything usefull, most search results came up with billing scripts and not an example text of such a billing receipt. Does anyone ha

[PHP] PHP script + read file

2004-11-20 Thread Jerry Swanson
I know how to read a file. But the problem is different, I have directory that has more than 250 files. I need to read each file and process it. But How I know what file to read? ls -l (show all files). How I can select each file without knowing name? The file will be process and than delete. Any

[PHP]PHP script and new window.

2001-04-23 Thread Angerer, Chad
I have searched high and low for thos but with no luck. Hopefully someone will give me some good pointers. I have a poll on a page that I am building which uses php. I would like to have a new window open when the submit and view results links are selected. I am using an onClick and the view re

[PHP] PHP script for command line

2002-02-05 Thread Alex Shi
I am now trying to use php script from command line. Everything is Ok except only one thing: it will always send out header msg. How can stop it from sending header? Alex Shi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP-script in MySQL-table

2002-04-23 Thread Michael Cronström
Hi all, I would like to enter directly into MySQL-table. How do I escape? the above so that the script is executed? Is it possible? Web inventor Michael Cronstrom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php script from bat file

2007-06-12 Thread Bosky, Dave
What's the syntax I need to use to execute a PHP script from a batch file? PHP is installed in 'C:\PHP' and the script I want to run is in 'C:\Inetpub\scripts\run.php'. I've created a Windows batch file which executes from the 'C:\PHP' directory and contains a single line 'php.exe C:\Inetpu

Re: [PHP] Php script diagnostic app?

2007-06-17 Thread Robert Cummings
On Sun, 2007-06-17 at 13:35 -0400, MIKE YRABEDRA wrote: > > I was wondering if there was some kind of application that would process a > php script, logging any functions (or classes) it encounters along the way. > Logging times and memory use. > > I am trying to figure out what in a script slows

Re: [PHP] Php script diagnostic app?

2007-06-17 Thread Daniel Brown
On 6/17/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Sun, 2007-06-17 at 13:35 -0400, MIKE YRABEDRA wrote: > > I was wondering if there was some kind of application that would process a > php script, logging any functions (or classes) it encounters along the way. > Logging times and memory us

Re: [PHP] Php script diagnostic app?

2007-06-17 Thread Paul Scott
On Sun, 2007-06-17 at 13:53 -0400, Robert Cummings wrote: > I believe there are profiling tools... probably from Zend. How big is I prefer using XDEBUG, which is totally free. You can install it from the pecl repositories: pecl install xdebug Then, you simply install it as an extension on your d

Re: [PHP] Php script diagnostic app?

2007-06-17 Thread Paul Scott
On Mon, 2007-06-18 at 06:39 +0200, Paul Scott wrote: > If you would like a more detailed HOWTO, please let me know, and I will > write up something for you. http://fsiu.uwc.ac.za/index.php?module=blog&action=viewsingle&postid=gen9Srv59Nme5_9262_1182142431&userid=3897070607 --Paul All Email orig

Re: [PHP] Php script diagnostic app?

2007-06-18 Thread Guillaume Theoret
Thanks a lot for that post Paul. It brings up a question though. You said to never ever use that on a production server (an important disclaimer!) so I was wondering what people here used to log and simulate loads. I've used OpenSTA ( http://opensta.org/ ) and I was pleased with the results but i

Re: [PHP] Php script diagnostic app?

2007-06-25 Thread William Lovaton
If you have little knowledge about C you can use sysprof on a relatively new Linux distribution and you can see on a live system where the CPU is consumed the most. [] http://www.daimi.au.dk/~sandmann/sysprof/ [] http://live.gnome.org/Sysprof With a little help of Google you can map C functions t

[PHP] PHP Script/Thread ID thingie

2008-08-15 Thread ceo
I'm logging things with error_log, and would like to be able to sort out one script run from another. So I'm looking for some kind of "script id" or "thread id" or "PHP script run execution ID" type of function. getmypid() just returns the same apache child process ID all the time, so tha

[PHP] PHP script problem (with MySQL)

2005-04-19 Thread Sugimoto
Hello, (BI need your help about PHP (ver 4.3.1) and MySQL (ver 3.23) database. (BI am struggling to customise a database (using left command etc), and am (Bstuck now. (BPlease have a brief look at my scripts below. (B (BWhat I do like to do is to get first 3 letters from "loc1" column from (

RE: [PHP] php script billing receipt

2003-07-14 Thread Ralph Guzman
What you are looking for is called an Invoice. I'm attaching a simple invoice for you to look at. -Original Message- From: Duncan [mailto:[EMAIL PROTECTED] Sent: Sunday, July 13, 2003 4:09 AM To: [EMAIL PROTECTED] Subject: [PHP] php script billing receipt Hi, I just finished a s

[PHP] PHP script in C SHELL

2003-06-25 Thread Marcos
I need to execute the archive php below in the server Apache, but I perceived that I obtain the waited result if I use csh (C shell) and not using bash, somebody could say me as to execute this script in csh? $pipe = "$username\n$password\n"; $pwauth = "/usr/local/apache/bin/pwauth

[PHP] PHP script for mysql queries

2003-11-04 Thread Leevy, Joffrey L
Hi: Going thru some teething problems. Does anyone have a simple PHP program that will enable mysql queries to be executed and displayed using internet explorer or another medium? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP script that fills forms ?

2003-11-26 Thread Anonymous
I was just wondering if it's possible to get a PHP script to fill a form for you? You see, I'm trying to make PHP fetch a password protected website for me and there's a form with username and password that protects it. Can anyone help me? Perhaps give me another sollution? -- PHP General Mailin

Re: [PHP] PHP script + read file

2004-11-20 Thread Jon-EIrik Pettersen
Jerry Swanson wrote: I know how to read a file. But the problem is different, I have directory that has more than 250 files. I need to read each file and process it. But How I know what file to read? ls -l (show all files). How I can select each file without knowing name? The file will be process a

Re: [PHP] PHP script + read file

2004-11-20 Thread Gerhard Meier
On Sat, Nov 20, 2004 at 09:11:41PM +, Jerry Swanson wrote: > I know how to read a file. But the problem is different, I have > directory that has more than 250 files. I need to read each file and > process it. But How I know what file to read? > ls -l (show all files). How I can select each fil

Re: [PHP] PHP script + read file

2004-11-20 Thread Jason Wong
On Sunday 21 November 2004 05:11, Jerry Swanson wrote: > I know how to read a file. But the problem is different, I have > directory that has more than 250 files. I need to read each file and > process it. But How I know what file to read? > ls -l (show all files). How I can select each file withou

Re: [PHP] PHP script + read file

2004-11-21 Thread Jerry Swanson
What is wrong with this code? Why $input_str is empty. if ($handle = opendir('/home/test2/')) { echo "Directory handle: $handle\n"; echo "Files:\n"; while (false !== ($file = readdir($handle))) { if($file != "." && $file != ".."){ $handle1 = fopen($file, "a+");

Re: [PHP] PHP script + read file

2004-11-21 Thread Jason Wong
On Sunday 21 November 2004 20:25, Jerry Swanson wrote: Please do not top post. > What is wrong with this code? Why $input_str is empty. > > if ($handle = opendir('/home/test2/')) { >echo "Directory handle: $handle\n"; >echo "Files:\n"; > >while (false !== ($file = readdir($handle))) {

Re: [PHP]PHP script and new window.

2001-04-23 Thread Plutarck
First of all, I believe since you are using javascript on your button you shouldn't use type="submit". Change it to type="button", which means it will have no effect for browsers that don't have javascript enabled when clicked. That could be an error, for one. But then again, it might not. It mig

RE: [PHP]PHP script and new window.

2001-04-24 Thread Angerer, Chad
n" the pop-up window will load the index.phtml page. If anyone needs more code snippets or anything please.. let me know. Thanks again. CAA -Original Message- From: Plutarck [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 7:11 PM To: [EMAIL PROTECTED] Subject: Re: [PHP]PH

Re: [PHP]PHP script and new window.

2001-04-24 Thread Nikhil Goyal
""Plutarck"" <[EMAIL PROTECTED]> wrote in message 9c2gdi$170$[EMAIL PROTECTED]">news:9c2gdi$170$[EMAIL PROTECTED]... > First of all, I believe since you are using javascript on your button you > shouldn't use type="submit". Change it to type="button", which means it will > have no effect for brows

[PHP] PHP script not paring in CGI!!!

2001-12-16 Thread Thomas Edison Jr.
Hi, I'm running a Solaris OS. I have written a CGO function to call common header & footer for pages. All HTML pages are running well with it, however, a PHP3 page is not!! It's contents are not showing up. Nothing i showing up! What do i do? T. Edison jr. = Rahul S. Johari (Director)

Re: [PHP] PHP script for command line

2002-02-05 Thread Lars Torben Wilson
On Tue, 2002-02-05 at 00:36, Alex Shi wrote: > I am now trying to use php script from command line. Everything is > Ok except only one thing: it will always send out header msg. How > can stop it from sending header? > > Alex Shi There are full instructions in the manual. Essentially, you are

Re: [PHP] PHP-script in MySQL-table

2002-04-23 Thread Andreas Stehn
Not sure if this is exactly what you are looking for, but you might want to take a look at the Eval function. (http://www.php.net/manual/en/function.eval.php ) /a Michael Cronström said: > Hi all, > > I would like to enter directly into > MySQL-table. How do I escape? the above so that the s

[PHP] PHP script and external C program

2002-05-27 Thread ing.Martin Prášek
Problem. I have a php 4.0.6. on linux as Apache module. I need to do folowing: I have in my script some value, for example "$value" and in /bin on my linux box c language program called "something". (I need speed) . I need to parse $value thru stdin /bin/something program to get from its std

[PHP] PHP: Script Security: Best coding practices

2002-07-03 Thread Jean-Christian Imbeault
I am trying to figure out what are some Bad Things (tm) when it comes to secure PHP programming and how to avoid them. I am looking for a kind of "best practices for security" list for PHP programming. Do's and Don't, or a list of common pitfalls and how to avoid them. Can anyone point me to

[PHP] PHP Script causing recursive free() calls (?)

2001-08-13 Thread Chris Cameron
I was told this was a PHP problem, and to submit a bug report. I'm not too sure what such a bug report would look like, or even if this is a PHP problem. Below is the message I sent to an Apache list, could someone tell me whether my problem is crummy code, or an actual problem with PHP/Apache?

[PHP] PHP script for detecting pattern sequences?

2009-07-08 Thread Rob Gould
Can anyone tell me if there's a PHP library out there that will help me determine "pattern sequences" from a string? Example input: 032258064516129032258064516129032258064516129032258064516129 Sequence = 032258064516129 037037037037037037037037037037037037037037037037037037037037 S

RE: [PHP] php script from bat file

2007-06-12 Thread Jay Blanchard
[snip] What's the syntax I need to use to execute a PHP script from a batch file? PHP is installed in 'C:\PHP' and the script I want to run is in 'C:\Inetpub\scripts\run.php'. I've created a Windows batch file which executes from the 'C:\PHP' directory and contains a single line 'php.exe C:\Inetp

Re: [PHP] php script from bat file

2007-06-12 Thread Tijnema
On 6/12/07, Bosky, Dave <[EMAIL PROTECTED]> wrote: What's the syntax I need to use to execute a PHP script from a batch file? PHP is installed in 'C:\PHP' and the script I want to run is in 'C:\Inetpub\scripts\run.php'. I've created a Windows batch file which executes from the 'C:\PHP' dire

Re: [PHP] php script from bat file

2007-06-12 Thread Richard Lynch
php.exe expects a PHP script as an argument, usually. You can run it interactively with -a or use -i to get phpinfo output and so on, but php.exe with nothing at all will run and not do much of anything. On Tue, June 12, 2007 11:30 am, Bosky, Dave wrote: > What's the syntax I need to use to execu

[PHP] PHP Script to open phpBB2 accounts

2006-04-19 Thread Weber Sites LTD
I'm looking for a ready made php script that can open phpBB 2.0.20 accounts By sending username, email and password. NE!? Thanks berber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Script/Thread ID thingie

2008-08-15 Thread Stut
On 15 Aug 2008, at 16:37, [EMAIL PROTECTED] wrote: I'm logging things with error_log, and would like to be able to sort out one script run from another. So I'm looking for some kind of "script id" or "thread id" or "PHP script run execution ID" type of function. getmypid() just returns the

Re: [PHP] PHP Script/Thread ID thingie

2008-08-15 Thread Eric Butera
On Fri, Aug 15, 2008 at 11:37 AM, <[EMAIL PROTECTED]> wrote: > > I'm logging things with error_log, and would like to be able to sort out one > script run from another. > > So I'm looking for some kind of "script id" or "thread id" or "PHP script run > execution ID" type of function. > > getmypi

Re: [PHP] PHP Script/Thread ID thingie

2008-08-15 Thread Richard Lynch
On Fri, August 15, 2008 10:52 am, Stut wrote: > On 15 Aug 2008, at 16:37, [EMAIL PROTECTED] wrote: >> I'm logging things with error_log, and would like to be able to sort >> out one script run from another. >> >> So I'm looking for some kind of "script id" or "thread id" or "PHP >> script run execu

Re: [PHP] PHP Script/Thread ID thingie

2008-08-15 Thread Stut
On 15 Aug 2008, at 23:30, Richard Lynch wrote: On Fri, August 15, 2008 10:52 am, Stut wrote: On 15 Aug 2008, at 16:37, [EMAIL PROTECTED] wrote: I'm logging things with error_log, and would like to be able to sort out one script run from another. So I'm looking for some kind of "script id" or "

Re: [PHP] PHP Script/Thread ID thingie

2008-08-19 Thread Jochem Maas
[EMAIL PROTECTED] schreef: I'm logging things with error_log, and would like to be able to sort out one script run from another. So I'm looking for some kind of "script id" or "thread id" or "PHP script run execution ID" type of function. getmypid() just returns the same apache child process

Re: [PHP] PHP Script/Thread ID thingie

2008-08-19 Thread Herman Gomez
Jochem Maas wrote: [EMAIL PROTECTED] schreef: I'm logging things with error_log, and would like to be able to sort out one script run from another. So I'm looking for some kind of "script id" or "thread id" or "PHP script run execution ID" type of function. getmypid() just returns the same

Re: [PHP] PHP Script/Thread ID thingie

2008-08-19 Thread Jochem Maas
Herman Gomez schreef: Jochem Maas wrote: [EMAIL PROTECTED] schreef: I'm logging things with error_log, and would like to be able to sort out one script run from another. So I'm looking for some kind of "script id" or "thread id" or "PHP script run execution ID" type of function. getmypid()

[PHP] php script running as a cgi

2006-01-16 Thread zedleon
I am running a php script as a cgi so to be able to run under my user name. The script seems to be working except for one major problem. the cgi script is not finding the variables passed by the html form... Any suggestions on how to make this work? Any help is greatly appreciated - zed --

Re: [PHP] PHP script problem (with MySQL)

2005-04-19 Thread Richard Lynch
On Tue, April 19, 2005 6:25 pm, Sugimoto said: > What I do like to do is to get first 3 letters from "loc1" column from > openart_table (MySQL). select substring(loc1, 1, 3) as THREE_LETTER_CODE, * from openart_table ... -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (

Re: [PHP] PHP script problem (with MySQL)

2005-04-19 Thread Richard Lynch
[Connective issues may make this a duplicate post. Sorry.] On Tue, April 19, 2005 6:25 pm, Sugimoto said: > What I do like to do is to get first 3 letters from "loc1" column from openart_table (MySQL). select substring(loc1, 1, 3) as THREE_LETTER_CODE, * from openart_table ... -- Like Music? h

RE: [PHP] PHP script in C SHELL

2003-06-25 Thread Daevid Vincent
> From: Marcos [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 6:18 AM > To: [EMAIL PROTECTED] > Subject: [PHP] PHP script in C SHELL > > > I need to execute the archive php below in the server Apache, but I > perceived that I obtain the waited result if I use

[PHP] PHP Script Output as HTML Mail

2003-10-29 Thread eBestel
I want to send HTML output from a php script as HTML E-Mail "ONLINE" Like Send this page by email feature. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP script for mysql queries

2003-11-04 Thread Jay Blanchard
[snip] Going thru some teething problems. Does anyone have a simple PHP program that will enable mysql queries to be executed and displayed using internet explorer or another medium? [/snip] Please RTFM (manual), STFW (Google), STFA (archives) as there are several thousand examples/tutorials avail

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Sophie Mattoug
Anonymous wrote: I was just wondering if it's possible to get a PHP script to fill a form for you? You see, I'm trying to make PHP fetch a password protected website for me and there's a form with username and password that protects it. Can anyone help me? Perhaps give me another sollution? ech

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Anonymous
Well, you see. I didn't mean it that way. I meant PHP to fetch a website. The website is password protected and you need to fill a form to access it. So I would like PHP to fill that form for me. Would that be possible? Are there any other solutions? "Sophie Mattoug" <[EMAIL PROTECTED]> skrev i me

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Nathan Taylor
You're not making any sense my friend. If you want to fill form field then supply them with a value="" value. There's nothing more to it. - Original Message - From: Anonymous To: [EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 5:37 AM Subject: Re: [

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Sophie Mattoug
form-filling is client-side, php is server-side => i don't see any solution for your problem... Anonymous wrote: Well, you see. I didn't mean it that way. I meant PHP to fetch a website. The website is password protected and you need to fill a form to access it. So I would like PHP to fill that

RE: [PHP] PHP script that fills forms ?

2003-11-26 Thread Nigel Jones
26, 2003 11:38 PM >> To: [EMAIL PROTECTED] >> Subject: Re: [PHP] PHP script that fills forms ? >> >> >> Well, you see. I didn't mean it that way. I meant PHP to fetch a website. >> The website is password protected and you need to fill a form to >> acc

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Justin French
On Wednesday, November 26, 2003, at 09:48 PM, Nathan Taylor wrote: You're not making any sense my friend. If you want to fill form field then supply them with a value="" value. There's nothing more to it. he wants PHP to act as a 'user at a keyboard and mouse', entering values into a form, whi

RE: [PHP] PHP script that fills forms ?

2003-11-26 Thread Jay Blanchard
[snip] I was just wondering if it's possible to get a PHP script to fill a form for you? You see, I'm trying to make PHP fetch a password protected website for me and there's a form with username and password that protects it. Can anyone help me? Perhaps give me another sollution? [/snip] Use cUR

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Justin French
On Wednesday, November 26, 2003, at 09:14 AM, Anonymous wrote: I was just wondering if it's possible to get a PHP script to fill a form for you? You see, I'm trying to make PHP fetch a password protected website for me and there's a form with username and password that protects it. Can anyon

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Prashant
Awaiting Your Prompt Reply, Thanks & Regards, Prashant S Akerkar - Original Message - From: Justin French <[EMAIL PROTECTED]> To: Nathan Taylor <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; Anonymous <[EMAIL PROTECTED]> Sent: Wednesday, November 26, 2

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Anonymous
OK then. Thanks for your answers. But is there another way that I could make PHP fetch info from a password protected website? "Justin French" <[EMAIL PROTECTED]> skrev i melding news:[EMAIL PROTECTED] > On Wednesday, November 26, 2003, at 09:48 PM, Nathan Taylor wrote: > > > You're not making an

Re: [PHP] PHP script that fills forms ?

2003-11-26 Thread Anonymous
Oops. Nevermind that last message. I didn't read all the messages in the topic. "Anonymous" <[EMAIL PROTECTED]> skrev i melding news:[EMAIL PROTECTED] > OK then. Thanks for your answers. > But is there another way that I could make PHP fetch info from a password > protected website? > > "Justin Fr

[PHP] php script run by cron job

2004-10-01 Thread Merlin
Hi there, I already managed it to run a php script by cron, but now I cant remember the exact syntax. Somehow it does not work. /var/log/messages tells me that cron has called the line, but it never runs. I did try to run the line without cron and it works. Here is the how I did it: 14 8 * * *

[PHP] PHP script that creates an SSL connection

2001-04-28 Thread Tom Beidler
Can you create an SSL connection directly through PHP? I'm trying to integrate a form with a payment processing center, Authorize.net and I'm running into a problem. The documentation for what they call ADC Direct Response requires a secure socket which I wrongfully assumed to mean posting from a

RE: [PHP] PHP script and external C program

2002-05-27 Thread John Holmes
2 1:21 PM > To: [EMAIL PROTECTED] > Subject: [PHP] PHP script and external C program > > Problem. I have a php 4.0.6. on linux as Apache module. I need to do > folowing: > > I have in my script some value, for example "$value" > and > in /bin on my linux box c l

Re: [PHP] PHP script and external C program

2002-05-27 Thread Evan Nemerson
exec wont work if you need to use stdin and read from stdout. You can try php.net/pcntl but that is disabled by default, and probably wont be enabled oun your host. I don't even know if it existed in 4.0.6... -- If there is no higher reason--and there is none--then my own reason must be the

Re: [PHP] PHP script and external C program

2002-05-28 Thread ing.Martin Prášek
- Original Message - From: "John Holmes" <[EMAIL PROTECTED]> To: "'ing.Martin Prášek'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, May 27, 2002 8:28 PM Subject: RE: [PHP] PHP script and external C program > I don't hav

Re: [PHP] PHP script and external C program

2002-05-28 Thread Dan Hardiker
http://www.php.net/popen Process Handling. > - Original Message - > From: "John Holmes" <[EMAIL PROTECTED]> > To: "'ing.Martin Prá¹ek'" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> Sent: Monday, May 27, 2002 8:28 PM > Subj

Re: [PHP] PHP Script causing recursive free() calls (?)

2001-08-13 Thread David Robley
On Tue, 14 Aug 2001 13:45, Chris Cameron wrote: > I was told this was a PHP problem, and to submit a bug report. I'm not > too sure what such a bug report would look like, or even if this is a > PHP problem. > > Below is the message I sent to an Apache list, could someone tell me > whether my prob

Re: [PHP] PHP script for detecting pattern sequences?

2009-07-08 Thread Per Jessen
Rob Gould wrote: > Can anyone tell me if there's a PHP library out there that will help > me determine "pattern sequences" from a string? > > > Example input: > > 032258064516129032258064516129032258064516129032258064516129 > Sequence = 032258064516129 > > > 0370370370370370370370370370370370

Re: [PHP] PHP script for detecting pattern sequences?

2009-07-08 Thread WenDong Zhang
yes (\d+?)\1+ works fine On Thu, Jul 9, 2009 at 6:00 AM, Per Jessen wrote: > Rob Gould wrote: > > > Can anyone tell me if there's a PHP library out there that will help > > me determine "pattern sequences" from a string? > > > > > > Example input: > > > > 032258064516129032258064516129032258064

Re: [PHP] PHP script for detecting pattern sequences?

2009-07-10 Thread Isaac Dover
sorry, should have added that i'm not aware of any library to do this, but you could certainly write one! :) and i forgot to use the list, sorry. - isaac On Fri, Jul 10, 2009 at 10:28 AM, Isaac Dover wrote: > though this looks suspiciously like a homework assignment, i'll bite. > > those regex

Re: [PHP] PHP script for detecting pattern sequences?

2009-07-10 Thread Andrew Ballard
On Fri, Jul 10, 2009 at 10:30 AM, Isaac Dover wrote: >> On Wed, Jul 8, 2009 at 11:32 PM, WenDong Zhang wrote: >> On Thu, Jul 9, 2009 at 6:00 AM, Per Jessen wrote: >> > A suitable regex might look something like this: >> > >> > /([0-9]+)\1+/ >> > >> > Not tested, probably won't work on the first t

Re: [PHP] PHP script for detecting pattern sequences?

2009-07-10 Thread Isaac Dover
i just got pwned! thanks, andrew. i should've paid more attention to what i was reading. - isaac On Fri, Jul 10, 2009 at 11:19 AM, Andrew Ballard wrote: > On Fri, Jul 10, 2009 at 10:30 AM, Isaac Dover wrote: > >> On Wed, Jul 8, 2009 at 11:32 PM, WenDong Zhang > wrote: > >> On Thu, Jul 9, 2009

[PHP] PHP script won't run in the background

2011-11-19 Thread richard gray
Hi all Hope someone can help me with a weird issue I have... I am trying to run a php CLI script in the background and it just won't run - it has a status of Stopped SIGTOU (Trying to write output) - Here are the details OS Mac OS X Lion 10.7.2 PHP PHP 5.3.6 with Suhosin-Patch (cli) (built:

  1   2   3   >