RE: [PHP] Detecting email bounces sent by the mail function?

2002-11-28 Thread scott
What would php run as on a cobalt raq4 so I don't get the x header warning Best regards -Original Message- From: Michael Sims [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 19:51 To: [EMAIL PROTECTED] Cc: Ade Smith Subject: Re: [PHP] Detecting email bounces sent by the mail function?

[PHP] prevent session_replay

2003-01-02 Thread scott
hi I'm running PHP 4.2.3 as module with Apache 1.3.26 on OpenBSD 3.2 with the chroot turned off (as it stopped the php_mail() funtion working, but if anyone has the fix for that I will re-implement the jail again :o) I'm having some problems with sessions. I am not using cookies, as many people d

[PHP] problem with forms and sessions

2003-01-09 Thread scott
hi I'm having problems submitting forms while using sessions :o( I'm using -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] forms and sessions ?

2003-01-09 Thread scott
hi I'm having some problems submitting forms while using sessions :o( I have a form, that will only display if the session vars exist and are not null or empty. I'm using this is the form handler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

[PHP] Executing Shell Commands.

2003-01-23 Thread scott
Hello, Does anybody know how to execute a shell command from PHP on a Linux system? Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] multiple entry forms !!

2003-01-27 Thread scott
hi looking for some advice I have a site in progress. user to it have to enter a LOT of information (it will contain a club directory) in order to try and make it a less unpleasant experience for the user, I want to give them 7 smaller input forms, each one following the other what would be the

[PHP] trying to write sql query as a function

2003-04-02 Thread scott
hi I'm trying to write a simple MySQL query in a php function so that I can just call it and pass arguments, but I'm missing something :o( there are 2 files, index.php and common.php, commom.php contains all the functions, and is included at the beginning of index.php the first function called i

Re: [PHP] automatic job execution

2002-07-25 Thread Scott
Depends on what system you are running, let us know and we can better answer the question. On Thu, 25 Jul 2002, Paul O'Neil wrote: > I have a php script I would like run like a cron job every so many minutes. > How is this done? > > > -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] automatic job execution

2002-07-25 Thread Scott
. -Scott On Thu, 25 Jul 2002, Paul O'Neil wrote: > I have a php script I would like run like a cron job every so many minutes. > How is this done? > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] automatic job execution

2002-07-25 Thread Scott
art apache... ? > > On Thursday 25 July 2002 04:25 pm, Scott wrote: > > On second thought, do you just want the script to run and sleep or > > actually schedule it as a job? You could just use sleep(). > > > > set_time_out(0); > > > > while ($i

RE: [PHP] automatic job execution

2002-07-25 Thread Scott
at some old posts and I found #!/usr/local/bin/php -q should be > included at the top of the script but I don't think I have permission on the > system I'm on. > > -Original Message- > From: Scott [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 6:

Re: [PHP] Help with msql_fetch_array() FIXED ! Now cookie problems:(

2002-07-25 Thread Scott
On Thu, 25 Jul 2002, Matthew Bielecki wrote: > session.save_path = "C:/Program Files/Apache > Group/Apache/web/php/dir/files/temp" Considering using something like: c:/temp, sure beats typing and remembering that path :) How are you setting the cookie in the code? -- PHP General Mailing

RE: [PHP] Re: Protect PHP coding

2002-08-03 Thread Scott
e a dedication to the open source community. I view it as the better Zend does, the more developers they can hire and the better all of the products will be including their contributions to PHP. -Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Include problems

2002-08-03 Thread Scott
oblem. Now I want to store all my includes in one directory www.include.com/inc that doesn't work>>> Warning: Failed opening 'test.inc' for inclusion (include_path='') Can anyone help me with this??? Thanks scott -- PHP General Mailing List (http://ww

Re: [PHP] Include problems

2002-08-03 Thread Scott
the c:\winnt\php.ini file). > > > Daniel Kushner > [EMAIL PROTECTED] > > Need hosting? http://www.TheHostingCompany.us/ > > > -Original Message- > > From: Scott [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, August 03, 2002 3:11 PM > > To: [EMAIL PRO

[PHP] Copying a remote graphic to my server.

2002-09-29 Thread scott
I am not sure of the correct fopen fwrite etc code! Any sample code or pointers are most helpful Best regards Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Copying a remote graphic to my server.

2002-09-29 Thread scott
I am not sure of the correct fopen fwrite etc code! Any sample code or pointers are most helpful Best regards Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Unix passwd file

2002-10-04 Thread Scott
I apologize if this is might be OT. I have 5,000+ users in a unix passwd file that I would like to move to a MySQL table to build a login system with php. I could then use this table for Postfix and Radius. I know about the getpwent in perl, but does anyone know if I populate a MySQL table

[PHP] Fatal error: Maximum execution time of 30 seconds exceeded

2002-10-13 Thread scott
Hello Trying to send a html email to 5000 people on a list Keep getting Fatal error: Maximum execution time of 30 seconds exceeded Any pointers on the best way to achieve this lengthily operation without the script failing? Best regards Scott -- PHP General Mailing List (http://www.php.net

[PHP] outgoing mail function freezing problem

2002-10-14 Thread scott
rom x domain. What would be the best way to work around this? Why is mail() hanging? How would you suggest incorporating a timeout so that the script continues once mail() has not exited for more than say 5 seconds Thanks in advance for your help Scott -- PHP General Mailing List

[PHP] mysql question

2002-10-30 Thread scott
, coca-cola,pepsi (x2),7 up, sunny delite and orange (x2). I don't want orange because it is in shop1! Help and BIG THANKS for the ANSWER? Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How to find future date?

2002-10-30 Thread scott
Thanks Can't get it to work, so open to other suggestions. Thanks anyway. -Original Message- From: 1LT John W. Holmes [mailto:holmes072000@;charter.net] Sent: 30 October 2002 21:16 To: ppf; [EMAIL PROTECTED] Subject: Re: [PHP] How to find future date? Take a look at mktime() www.php.

[PHP] Protecting your scripts

2002-11-02 Thread scott
access to the source. Best regards Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] form with two actions

2002-11-12 Thread Scott
Hello I would like to know if it is possible to use Php to make a form perform 2 actions by having the user click on a single submit button. For instance, send data to a database and email it simultaneously. I would prefer not to use javascript. If someone could point me to an example I would

Re: [PHP] form with two actions

2002-11-13 Thread Scott
to be submitted to two servers, > or something... > > do you need an example? > > > Justin > > on 13/11/02 3:05 PM, Scott ([EMAIL PROTECTED]) wrote: > > Hello > > I would like to know if it is possible to use Php to make a form perform > > 2 actions by having

Fwd: Re: [PHP] form with two actions

2002-11-13 Thread Scott
bmitted to two servers, > or something... > > do you need an example? > > > Justin > > on 13/11/02 3:05 PM, Scott ([EMAIL PROTECTED]) wrote: > > Hello > > I would like to know if it is possible to use Php to make a form perform > > 2 actions by having the user

[PHP] running php as cgi script

2002-11-15 Thread Scott
I'm trying to run a simple test php script as a cgi script on my ISP's server and haven't been able to get it to work, although according them it is possible. I have an example from a book which gives the following steps: 1. Put the script in the cgi-bin 2. run chmod 755 3. include "#!/usr/bin

Re: [PHP] running php as cgi script

2002-11-15 Thread Scott
Forgot to include the error I'm getting is: CGIwrap Error: System Error: execv() failed Error: No such file or directory (2) Although the file and path are correct. On Friday 15 November 2002 10:52 pm, you wrote: > I'm trying to run a simple test php script as a cgi script on my ISP's > server

Re: [PHP] running php as cgi script

2002-11-15 Thread Scott
I'm not intending to run the script from the shell. What I am trying to do is encrypt emails with Gnupg. The problem is Gnupg runs as my user name and php runs as nobody. So I'm trying to run a php script as cgi to deliver the data to Gnupg since a cgi script will run as my username. I am usi

Re: [PHP] running php as cgi script

2002-11-17 Thread Scott
Well, I've got a few test scripts to run by following the suggestions from the posts. There's just one thing that's not quite right yet. The "#!/usr/bin/php" line appears at the top of the page. For instance when I run the following script from the cgi-bin: #!/usr/bin/php The phpinfo page

Re: [PHP] php IDE for linux

2002-06-04 Thread Scott
I have been using Zend Studio on Windows and they have a Linux client. You can get a demo key at www.zend.com. I am pretty sure that xemacs has a php mode as well. -Scott On Tue, 4 Jun 2002, Pedro Jorge Dias Cardoso wrote: > > please tell me a good PHP editor for linux, wich o

[PHP] Number formatting

2002-06-06 Thread Scott
throwing my calculations off, I have tried using number format like this: $aprTemp = number_format($apr, 2); which in the case of 3.05 will return 305.00 and 300.00 for 3%. Anyone have a snippet to test and display properly so that 3% would be 3.00, etc. Thanks, -Scott -- PHP General

Re: [PHP] Number formatting

2002-06-06 Thread Scott
Shane- Thank you for the response. This works, I also changed the column type to numeric with a scale of 2 in SQL Server. Thank you again. -Scott On Thu, 6 Jun 2002, Shane Wright wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi > > > $aprTemp =

Re: [PHP] Re: sending 1000 emails to subscribed members via php?

2002-06-12 Thread Scott
hp? > > > > Anyway what do I do if I would have 1 members. This might take lots of > > cpu?! So I would like to keep it via my webinterface, but be able to email > > to all members. > > > > Thank you for your advice guys, > > > > Andy > > > &g

Re: [PHP] Email howTo ?

2002-06-12 Thread Scott
Point the php.ini to a smart host that will accept the connections. We do that on our Linux boxes at the office. All mail passes to a Notes server. On Wed, 12 Jun 2002, Septic Flesh wrote: > any way to send an email with php without using SENDMAIL ??? in a linux > (slack8) ? > > thanks in

Re: [PHP] Editor

2002-06-13 Thread Scott
miss all the snippets and custom buttons I have been building in Home Site for years. On the Linux side I would check out XEmacs with the PHP add on. I think it was nedit that also worked well for me. -Scott On Thu, 13 Jun 2002, Daniele Baroncelli wrote: > Hi guys, > > Altho

Re: [PHP] Re: phpmyadmin - moving data from one database to another

2002-06-18 Thread Scott
Can't he just dump the db to a file and then load it on the new server? I do that all of the time between my laptop and work. Dump the db into a sql file (choosing data and structure for the dump) Create a new db on the server then run: mysql -u xxx -p xxx -D (database name) < name_of_dump_fil

Re: [PHP] linux: how can I check if php/mysql is working properly?

2002-06-18 Thread Scott
If you told RH to install PHP/MySQL/Apache then everything should be ok. I forget the default document root, but what happens if you put a test.php with this in it: Other than that it should work out of the box, just make sure you get the patches. On Tue, 18 Jun 2002, Phil Schwarzmann w

Re: [PHP] How to read the Exchange databases?

2002-06-20 Thread Scott
I think there is a way to export the user list in the Exchange Server Manager into a csv file. It would not be real time, but would get you the list. On Thu, 20 Jun 2002, Barajas, Arturo wrote: > Hi, list. > > I'm starting an application, running Apache + PHP + MySQL under WinNT. > > I ne

[PHP] using PHP curl and a client cert

2003-09-04 Thread Scott
x27;); curl_setopt ($ch, CURLOPT_SSLKEYPASSWD, 'myPassword'); $result = curl_exec ($ch); Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] client certs (how to)

2003-09-05 Thread Scott
etopt ($ch, CURLOPT_SSL_VERIFYPEER, 2); curl_setopt ($ch, CURLOPT_SSLKEY, 'myCert.pem'); curl_setopt ($ch, CURLOPT_SSLKEYPASSWD, 'myPassword'); $result = curl_exec ($ch); Plus where does the data go? I know there is the POST_FIELDS option but I have XML.

[PHP] Want to change shell to bash for only one file

2003-09-07 Thread Scott
I am trying to temporarily change from tcsh to bash. I need to use bash for a particular command that I am doing a shell_exec on. Currently: _SERVER["SHELL"] = tcsh How do I execute my call using bash instead? Scott -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Extracting random rows

2003-11-02 Thread Scott
Hello, Below is a boiled-down example of the problem I'm having. I'm trying to extract rows randomly from MySql, but I keep getting the same one. It works if I query MySql directly from the command line, so it seems like a php problem. Thanks, Scott -- P

[PHP] processing arrays from forms

2004-01-25 Thread Scott
Hello, In page_1.php I have this form: "; } ?> On page_2.php I have this: $m"; } ?> Which gives me a list of values from each box that was checked -- but I haven't been able to figure out how to process it so that each iteration of the form on page_1.php prints in a new

Re: [PHP] What's wrong with this link?

2001-01-20 Thread scott
able. If so, it should be noted as "$PID". A really good book for learning PHP is "Beginning PHP4" by Wrox ISBN# 1-861003-73-0 - Scott > I realize my slashes are most likely in the wrong spot and i'm new to this > PHP stuff so a little help w

Re: [PHP] Profanity Filter

2001-01-20 Thread scott
ds = preg_split("/\s+/", $data); > > foreach ($words as $word) { > > if (in_array($word, $profanities)) { > > echo "you did a naughty thing"; > > break; > > } > > } > > ?> > > > > > > Would be the somewhat sane version..

Re: [PHP] PHP Sessions Problem

2001-04-20 Thread Scott
I posted about this same problem over a year ago. I finally gave up and reverted back to PHP 3 techniques of 1)generating a sessid, 2)registering the session by storing the sessid and the variables in a mysql database and 3)passing the sessid in the url. This works like a charm. I'd be curious if

[PHP] Sessions and header-redirect

2001-04-20 Thread Scott
Does anyone know of a way to use sessions and still be able to redirect with the header function. In the code below I test for the existence of the PHPSESSID and send the user to register if it doesn't exist. If it does exist I start a session to retrieve the session variables then call a class th

[PHP] Secure authentication-Is this good?

2001-04-28 Thread Scott
Can anyone tell me if this example would be considered a secure method for authentication using sessions. The login page is a form to validate the user and begin the session. The second bit of code is at the top of every page to authenticate the user. I can't figure out if this is the best way. Th

RE: [PHP] Real Simple, but i'm new!!

2001-12-29 Thread scott
well, if your URL is index.php?links if (!empty($links)) is similar to what you'd want to use. > -Original Message- > From: Brian Clark [mailto:[EMAIL PROTECTED]] > Sent: Saturday, December 29, 2001 9:44 PM > To: PHP is not a drug. > Subject: Re: [PHP] Real Simple, but i'm new!! > > >

RE: [PHP] index.php

2001-12-30 Thread scott
well... a good first step is to think about what has changed with your configuration. did you turn on any output handlers/buffering? Compile a new version? Modify apache in any way? > -Original Message- > From: Caleb Carvalho [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 30, 20

RE: [PHP] Holy Moly...

2002-01-03 Thread scott
... and dont forget, download some free PHP scripts and dissect them. my method for learning a new language is just to throw myself head-first into it, and start writing something in that language, using online manuals and printed works to fill in the gaps along the way. > On Wed, 2 Jan 2002, Ju

[PHP] jukebox

2002-01-04 Thread Scott
and it would move down the list resetting every hour. If you have done an exec to mpg123 before, how did you control the output? I want the output to be on the local machine and not streamed across a network. Thanks in advance. -Scott -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] jukebox

2002-01-08 Thread Scott
tates and am used to listening to music that way. I am setting up categories, music rotations, etc. Thanks again! -Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admin

RE: [PHP] Variables Limit

2002-01-26 Thread scott
Check out arrays... especially if you're going to be dealing with 304 individual variables. your code will be MUCH happier :) > -Original Message- > From: Philip J. Newman [mailto:[EMAIL PROTECTED]] > Subject: Re: [PHP] Variables Limit > > I have to exchage over 304 different names, cod

RE: [PHP] Re: Swapping for \n... ?

2002-01-29 Thread scott
That regex is equivilent to: "/(\r\n)|(\r)|(\n)/", you don't need to use the numeric values. > -Original Message- > From: Jon [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 29, 2002 11:22 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Swapping for \n... ? > > > Nevermind, I found

[PHP] Need Urgent Help!!

2002-01-30 Thread Scott
All, I have just found out that the VB script that I have used to send email from my web site is null and void, apparently the server does not do VB or something along those lines (security) but that's not the issue. I have contacted my teh people who host my site and they told me I have to use P

[PHP] What can I ask here?

2002-02-05 Thread Scott
Just want to make sure I am in the right forum... I am new to PHP and will be doing alot of coding with it in the near future. So I will be asking alot of newb questions... Thanks, Batch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Stripping the first line of a file

2002-02-08 Thread Scott
row? Thanks, -Scott -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Stripping the first line of a file

2002-02-08 Thread Scott
: printf NEW ("%-5.5s",$fields[14]); This will print exactly 5 characters, I also use this format to make sure the lines are exactly 255 characters long: printf NEW ("%-193.193s"); Is there something similar in php. Thanks for everyone's help and patience. -

RE: [PHP] Stripping the first line of a file

2002-02-08 Thread Scott
Thanks Jerry! In perl I was doing this: printf NEW ("%-193.193s"); Which I just read the manual and discovered it works in PHP as well. Basically prints 193 spaces to make sure the line is 255 after I filled the line with other characters. On Fri, 8 Feb 2002, Jerry Verhoef (UGBI) wrote

[PHP] Creating an array with a file

2002-02-10 Thread Scott
what I have attempted in code: $lines = fopen("oldfile.txt", "r"); $newfields = explode("\t", $lines); echo $newquotes[0]; I get a Resource ID #1 when I echo the line. Thanks, -Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Creating an array with a file--Fixed

2002-02-10 Thread Scott
Nevermind, I was able to figure it out using: $myfile = file("oldfile.txt"); for ($s=0; $s<=count($myfile)-1; $s++) { $fields = split("\t",$myfile[$s]); print("$fields[1]\n"); } -Original Message- From: Scott [mailto:[EMAIL PROTECTED]] Sent: M

RE: [PHP] Creating an array with a file

2002-02-10 Thread Scott
need to loop through the entire file and output on each loop. My concern is the overhead by creating the array's. Any thoughts. Thanks, -Scott -Original Message- From: Paul Roberts [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 10, 2002 2:35 PM To: Scott Subject: Re:

[PHP] file reading and array's

2002-02-11 Thread Scott
pass. Any thoughts would be appreciated. Thanks in advance. -Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] exec on Windows

2002-02-16 Thread Scott
second. I tried to send the output to null winamp.exe >null or nul and no luck. Anyone else try this on Windows? Thanks, -Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Text editor for linux

2002-02-16 Thread Scott
Nedit, Bluefish are also good under X -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 16, 2002 7:22 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Text editor for linux > Anyone know of a good text editor for linux, WITH syntax highlighting for > ph

Re: [PHP] file reading and array's

2002-02-16 Thread Scott
Perfect! Thank you, my mind was out in left field somewhere. On Tue, 12 Feb 2002, DL Neil wrote: > Hi Scott, > > > In my constant effort to improve my perl conversion project, I have a > > question regarding file reading. I am taking two files and combining > > t

RE: [PHP] exec on Windows

2002-02-17 Thread Scott
Thanks guys, this works, but found the problem to be the fact that Winamp does not shut down, therefore the script sits and waits. If I close Winamp the script will fire off the next event. I might try mpg123 for Win. -Scott -Original Message- From: Stephano Mariani [mailto:[EMAIL

Re: [PHP] zend studio 2.0

2002-02-18 Thread Scott
d since it now has a great tool! Home Site is ok, but not PHP specific, only color codes. Matter of fact my boss was so impressed he is ordering 4 copies for our staff! Nice job guys! -Scott On Mon, 18 Feb 2002, Zeev Suraski wrote: > At 19:53 18/02/2002, DL Neil wrote: > >

RE: [PHP] Logging Users In - What is the Best Way

2002-02-18 Thread scott
A way i've done things like this is to setup sessions, and when a user logs in correctly, issue a randomly generated value "id" and set that as a cookie. in the database, there's a row "id" (same as the cookie) that holds the user name and any other data that i might want to store. Since none o

RE: [PHP] Retaining data across multiple sites

2002-02-20 Thread scott
They can... i've used the same code and the same database server for two domains with no prob's. The problem is cookies (as was mentioned previously) If domainx.com writes a cookie, then no other domain can (theoretically) access it. > -Original Message- > From: Chris Boget [mailto:[E

RE: [PHP] Re: preg_replace("/^\//".. doesnt work?

2002-02-20 Thread scott
Also note: "^" matches the beginning of the string, so "^\/" will only match a "/" at the beginning of the string (not the first occurence of "/") > -Original Message- > From: Philip Hallstrom [mailto:[EMAIL PROTECTED]] > Subject: [PHP] Re: preg_replace("/^\//".. doesnt work? > >

RE: [PHP] Re: preg_replace("/^\//".. doesnt work?

2002-02-20 Thread scott
that's probably what he meant... but what he asked for was how to "replace the first '/' in $a" if you have $a="abc/def", the regex "^/" will not replace the first "/" in your string, which was my point :-) > -Original Message- > From: James Taylor [mailto:[EMAIL PROTECTED]] > Subject: R

[PHP] Parsing file's

2002-05-31 Thread Scott
uot;" 04-Close Customer Record Repeat cycle for each row. The inner loop happens between the 02 and 04 records. Remember, I need to format each individual column, they are different format options. If you have some thoughts, I would be all ears as I have been starring at this too long

Re: [PHP] Re: Parsing file's

2002-05-31 Thread Scott
it the columns into groups of 15. -Scott On Fri, 31 May 2002, Michael Davey wrote: > You should normalise your data - have a field in the second csv that links > to the first csv and then you can have as many rows as you want associated > with the record in the first file. > >

RE: [PHP] Re: Parsing file's

2002-05-31 Thread Scott
Mark- Trying it now, I think I understand what you doing with the code below. I'll let you know. Thank you! -Scott -Original Message- From: Mark Heintz PHP Mailing Lists [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 4:43 PM To: Scott Cc: [EMAIL PROTECTED] Subject: Re:

RE: [PHP] Re: Parsing file's

2002-06-02 Thread Scott
at a time. It is easy if there is only one set, but I am not sure how to take the remaining elements in the array and break them out 34 at a time until I reach the end of the line. Help, my head hurts and I have a habit of over thinking :) -Scott -Original Message- From: Mark

RE: [PHP] Re: Parsing file's (SOLVED)

2002-06-02 Thread Scott
en :) Thanks again everyone. -Scott -Original Message- From: Scott [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 02, 2002 4:57 PM To: 'Mark Heintz PHP Mailing Lists' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Parsing file's Ok, this did not work, but I have a new idea.

[PHP] php and javascript

2002-03-25 Thread Scott
I have some image urls that I have stored in a mysql database. I want to be able to display the images in a popup window using javascript. But I haven't been able to figure out how to get the get the info to mysql so that the image loads when the popup window appears. Below is an example of

[PHP] Using PHP for server utilities

2001-10-25 Thread Scott
. Thanks in advance. -Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] fopen for ftp transfers

2001-10-29 Thread Scott
Hi- I am attempting to transfer files from one server to another via ftp. I am wondering if this is the best method to transfer files within PHP or should I seek other methods. Here is the way I am doing it now: $sendfile = fopen("ftp:user:[EMAIL PROTECTED]/testfile", "w"); Thanks -- PHP

[PHP] basic mcrypt questions

2001-10-31 Thread Scott
I'm working on my first shopping cart web application (done in php) and have started to look into ways to secure it. After reading up a little bit on mcrypt I have some basic questions about it: 1. If I use mcrypt to encrypt user input before storing it in a database, do I have to use it in

[PHP] a big thank you

2001-11-02 Thread Scott
A big thank you to everyone with the help on the ftp module. I was able to finish my project in a few days and my boss thinks I am a hero. Of course he thinks I am using perl too. :) -Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] php and mcrypt

2001-11-02 Thread Scott
I'm trying to get mcrypt to work with php, but haven't been able to reconfigure php to work with it. I'm using the version of php that came with Mandrake 8.0 and I have downloaded and installed the 2.5.7-1 mdk rpm of mcrypt. So now I should cd into my php directory and reconfigure php

[PHP] php and mcrypt

2001-11-02 Thread Scott
This is my output from $ locate *php*so: /usr/lib/apache-extramodules/libphp4.so /usr/lib/php/extensions/dba_gdbm_db3.so /usr/lib/php/extensions/gd.so /usr/lib/php/extensions/imap.so /usr/lib/php/extensions/ldap.so /usr/lib/php/extensions/mysql.so /usr/lib/php/extensions/pgsql.so /usr/lib/php/ex

Re: [PHP] fopen for ftp transfers

2001-11-02 Thread Scott
Perfect and just what I was looking for! I was able to finish my program today using it and the boss is wondering how I did it so fast! HINT: he thought I was using perl. At 01:59 PM 10/29/2001 -0400, Frewuill Rodriguez wrote: >what about using ftp functions from PHP? > >http://www.php.net/

[PHP] how to echo data in a textarea

2001-11-08 Thread Scott
Could someone please show me how to echo data into a textarea field of a form? e.g. I have used the following in text fields: " size=3 maxlength=3>, but textareas don't have the "value" attribute and I haven't been able to come up with a way that works or find a working example. Thanks, SW -- P

[PHP] gnupg, running php as a cgi script

2001-11-25 Thread Scott
I am trying to use php and gnupg on my virtual host to send user input to myself in encryptd form. The problem I am having is that I have installed gnupg in my user account and it is functional, but the keyring and keys that I have generated are under my user name for the account. Php runs

RE: [PHP] Access rights for php files on Linux?

2001-12-18 Thread scott
For a little bit more security, you could find out what user apache is running as (look in httpd.conf), and chown the file to that user:group and set permissions 400. (So that only the apache process can read the file) However, this is not very secure, becuase a CGI script could still read your f

[PHP] konquerer and php

2001-08-23 Thread Scott
I have a database browser that I made with php and mysql. When I use it in Netscape it behaves normally. However when I view it using Konquerer, all kinds of php code shows up on the screen when I execute a php page. I thought that Konquerer might not be recognizing the start and end tags

Re: [PHP] konquerer and php

2001-08-23 Thread Scott
What's happening specifically is that I have an html form with action "whatever.php" and when I click on submit I get code echoed to the screen. As I said it works normally in Netscape, I get the php page with all the data displayed perfectly. Thanks, SW On Thursday 23 August 2001 20:28,

Re: [PHP] konquerer and php

2001-08-25 Thread Scott
instead of http://localhost/blahblahblah.html and I never noticed. So the html pages looked normal, but without the server, the php pages left something to be desired. Thanks, SW On Friday 24 August 2001 09:15, you wrote: > > From: Scott <[EMAIL PROTECTED]> > Date: Thu, Aug 23,

[PHP] include question

2001-09-17 Thread Scott
Hello everyone- I am working on a project where a client can upload a template into a database table and manage it. The actual HTML code and dynamic code will be in the template as well. My hope is to build the page using an include that will echo the code to the page and then also fill in the

Re: [PHP] include question

2001-09-17 Thread Scott
At 02:03 AM 9/18/2001 +0200, Chris Hayes wrote: > 2) let them make a real template, either a file or a database >cell, for instance > fhkhfsahehfaa[DATA1] >and do a str replace [DATA1] parts --> database content. Chris- YOU ROCK! Thank you for the thought starter, I have been beating m

[PHP] replace with display function

2001-09-18 Thread Scott
Hi, I am working on replacing strings in a navigation file. I need to be able to assemble the left navigation from a table. My problem is the function code gets placed above where it should appear in the template. Here is what I have: $temp5 = str_replace("[LEFT NAV]",call_leftnav(),$temp4);

[PHP] Array question

2001-09-18 Thread Scott
Ok, I think I have my template and includes problem worked out, but making an array out of the data returned. My question is how do I make an array out of a returned result. Here is the code: $sql = "select bp_section_id,bp_section_name from bp_sections order by bp_section_name"; $sql_result = m

Re: [PHP] PHP Site

2001-09-18 Thread Scott
The net is slow right now as there is another Microsoft IIS worm/virus floating around. This one is worse than Code Red in the amount of traffic it generates, something to effect of 10 requests a second, compared to one with Code Red. While php.net is not running IIS, it is subject to these prob

Re: [PHP] PHP Site

2001-09-18 Thread Scott
http://www.zend.com/manual/ At 04:37 PM 9/18/2001 -0700, Jason Bell wrote: >Thanks. I suppose really need to download the docs to my machine. :) > > >- Original Message ----- >From: "Scott" <[EMAIL PROTECTED]> >To: "Jason Bell" <[EMAIL PROT

[PHP] re: array question

2001-09-18 Thread Scott
Oh, that works wonders and for the first time in 24 hours I am smiling! One more thing to make it complete. Is there a way to loop through the display of that array? In other words, I now have an array called $new_data and can call each element in the array by doing $new_data[0], etc, but I n

  1   2   3   4   5   6   7   8   9   10   >