[PHP] random letters and numbers

2001-03-24 Thread Randy Johnson
Is there an easy way to create random numbers and letters for a file example http://www.mydomain.com/1w2e3rff.txt and then after they download it have it be deleted off the server? thanks randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] scrolling text box

2001-03-28 Thread Randy Johnson
. thanks randy -- 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] TEmp File

2001-03-29 Thread Randy Johnson
else's history. Any Advice is much appreciated. thanks randy -- 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] Downloading Data from Database

2001-07-11 Thread Randy Johnson
hanks Randy -- 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]

RE: [PHP] deletion of temp files

2001-07-11 Thread Randy Johnson
How do you associate a temp file with a session so PHP automatically deletes it when garbage collection occurs -Original Message- From: Chris Lambert - WhiteCrown Networks [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 11:36 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] deletion of

[PHP] mkstemp

2001-07-11 Thread Randy Johnson
I see mkstemp() mentioned in the tempnam page in the online manual but cannot find it anywhere? Where is the docs for this? -- 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 admi

[PHP] Rename a File?

2001-07-11 Thread Randy Johnson
How do I rename a file on Linux in PHP? Thanks Randy -- 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]

RE: [PHP] Re: Downloading Data from Database

2001-07-12 Thread Randy Johnson
:30 PM To: Randy Johnson; PHP General List Subject: [PHP] Re: Downloading Data from Database On Sat, 14 Jul 2001 00:40, Randy Johnson wrote: > I am adding a feature to my site where members can download their > information from the database. What is the best way to accomplish > this? >

RE: [PHP] forms and IP numbers

2001-07-13 Thread Randy Johnson
I would like to pull the date and time of the creation of a file via a php script and compare it to the current time. How do I do this? TIA Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Variable dump on error

2001-07-19 Thread Randy Miller
error could occur, but this doesn't seem very efficient to me. Does anybody know of a way to generate an email on error with all the current variables? Randy Miller -- Team Leader, Web Development HighWired.com -- Your high school connection http://www.highwired.com/ [EMAIL

[PHP] FORCING A PHP OUTPUT TO BE CACHED

2001-07-27 Thread Randy Johnson
Is it possible to force a confirmation page that is displayed via a post operation to be cached so it will not rerun the script when somebody hits the refresh button? I am hoping it is easy as using a header thanks in advance Randy -- PHP General Mailing List (http://www.php.net/) To

[PHP] PHP Execute as User ???

2001-07-31 Thread Randy Katz
te as the User/Group of the VirtualHost? Please forgive me if this subject has been explained elsewhere, I did a search and it revealed nothing. Thank you, Randy Katz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

[PHP] PHP/MySQl Consultation

2001-08-24 Thread Randy Johnson
I am in need of someone that is very good at PHP and MySQL to view my scripts and discuss with me in detail on how to speed up my scripts and how to speed up mysql some. if you are interested please send me credentials and rates ASAP please send them to [EMAIL PROTECTED] Thank you, Randy

[PHP] sharing PHP sessions between web servers using NFS

2009-06-22 Thread Randy Paries
Hello, I have three web servers (in a lvs cluster) in the cluster they all think they are www.mydomain.com With LVS you can not guarantee that each request is going to come in via the same server I am trying to share php sessions between servers. I have seen some examples that use mysql for sessi

[PHP] anyone using session_mysql successfully

2009-06-23 Thread Randy Paries
using this and has seen the error Thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Creating a varable with a name held in a string

2005-02-10 Thread Randy Johnson
I like to do this: foreach( $row as $key=>$val) { $$key = $row[$key]; } John Holmes wrote: Ben Edwards (lists) wrote: I have the following code;_ $sql = "select * from text where id= '$id' "; $row = fetch_row_row( $sql, $db ); $img_loc= $

Re: [PHP] Creating a varable with a name held in a string

2005-02-10 Thread Randy Johnson
I will read over extract and change my ways ;-) Randy John Holmes wrote: Randy Johnson wrote: I like to do this: foreach( $row as $key=>$val) { $$key = $row[$key]; } You're just recreating a slower version of extract()... -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread Randy Johnson
try $HTTP_POST_VARS maybe it is an older version of PHP Randy eatc7402 wrote: Thanks for the input. However it does no good if the variables are empty, which is my problem. The darn $_POST thing does not work at all for me, and I am trying to find out why. -Original Message- From: b1nary

Re: [PHP] [NEWBIE] Cant get $_POST to work

2005-02-20 Thread Randy Johnson
Why do you need the ID? I never use that in my forms. Randy The Disguised Jedi wrote: i think you have to use the ID parameter in the input tag in your HTML Name: Age: try that and see how it goes On Sun, 20 Feb 2005 17:52:26 -0500, Randy Johnson <[EMAIL PROTECTED]> wrot

Re: [PHP] weird mail function problem

2005-02-21 Thread Randy Johnson
You should have this at the top of your for loop $body=""; Ahmed Abdel-Aliem wrote: hi i use this code to send email from mysite but when it sends to some accounts it repeats the body part twice in the same email while to other accounts it sends the body one time only can anyone help in that plz ?

Re: [PHP] Identifying a user who previously created a profile

2005-02-25 Thread Randy Johnson
email me to investigate, then I can decide and delete accordingly. You could do the same thing for similar email addresses, similar cities etc depending on paranoid you are about it. Using Ipaddress is a bad idea because ISP recycle ipaddresses all the time. Randy Jacques wrote: How can I ensure t

Re: [PHP] Capturing user's IP Address

2005-02-25 Thread Randy Johnson
I use: $ipaddress = getenv("REMOTE_ADDR"); Jacques wrote: Which function can I use to capture a user's IP Address when he registers on my site. I would like to store this value in a database. Regards Jacques -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] PHP slowness

2005-02-25 Thread Randy Johnson
I think I have heard that your system can get really bogged down if your log files are HUGE. So you probably are right. I dread the size of the log files if he has a rather busy site and is logging everything... Randy Brent Baisley wrote: I noticed you have your error_reporting level set

[PHP] PHP Wiki

2005-02-25 Thread Randy Johnson
Is there a Wiki site for PHP? Is there a need for one? -Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] help with adding

2005-02-25 Thread Randy Johnson
Try this: $num=0; for ($i = 1; $i <= $sendnum; $i++) { $qty = $_POST['qty'.$i]; $num=$num+ $qty ; } echo $num; Jay Fitzgerald wrote: I have messed with this for a couple of days and cant get it right. Maybe I need sleep :-) The code below is echoing the qty correc

Re: [PHP] PHP Wiki

2005-02-25 Thread Randy Johnson
Nope I had not been there. Thanks for the link Randy Chris W. Parker wrote: Randy Johnson <mailto:[EMAIL PROTECTED]> on Thursday, February 24, 2005 2:50 PM said: Is there a Wiki site for PHP? Is there a need for one? Been to http://phpcommunity.org/wiki/? Chris. -- PHP General M

Re: [PHP] PHP Wiki

2005-02-25 Thread Randy Johnson
yea I just thought maybe a php-wiki would be neat, not one programmed in php but a wiki for everything php :-) Randy Robby Russell wrote: On Thu, 2005-02-24 at 17:49 -0500, Randy Johnson wrote: Is there a Wiki site for PHP? Is there a need for one? -Randy The php.net site doesn't really

Re: [PHP] PHP slowness

2005-02-26 Thread Randy Johnson
Did you try rotating your logs so your logs are fresh? Randy Gerard wrote: <--snip--> I'm no expert on this stuff, but I'd be checking my swap space usage and RAM usage with 'top' or any other tools available... I suppose you probably already did that, but... Top shows

[PHP] setcookie

2005-03-04 Thread Randy Johnson
setcookie( "sess_key",$key,0,"/","." . str_replace( "www","",$_SERVER["SERVER_NAME"] ),0 ); Does that look right? Thanks! Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] setcookie

2005-03-04 Thread Randy Johnson
IE 4. this is also by going to domain.com or www.domain.com, neither work any ideas? Randy Marek Kilimajer wrote: Randy Johnson wrote: setcookie( "sess_key",$key,0,"/","." . str_replace( "www","",$_SERVER["SERVER_NAME"]

Re: [PHP] setcookie

2005-03-04 Thread Randy Johnson
The period was the issue all together, i took the extra out and it worked. Thanks for your help Randy Randy Johnson wrote: ok I see how that could be an issue. Here is my big problem that I have not been able to figure out. I have a client website that I am trying to fix 1. it has sessions in

[PHP] LAMP Server setup help

2007-09-08 Thread Randy Patterson
c/apache2 directory. Not sure how to fix this. I'm a newbie when it comes to the LAMP server apps. Any help would be appreciated. Thanks, Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LAMP Server setup help

2007-09-08 Thread Randy Patterson
On Saturday 08 September 2007 12:20, Børge Holen wrote: > On Saturday 08 September 2007 10:07, Randy Patterson wrote: > > Hey, > > > > I have setup a test system on my home network in the past to develop & > > test PHP apps by installing an ISAPI PHP dll in IIS

[PHP] Can't execute PHP script

2007-09-08 Thread Randy Patterson
ugh I have programed in PHP off and on for a while I am a newbie to the setup side of things. Hopefully someone could point me in the right direction to trouble shoot this. Thanks, Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can't execute PHP script

2007-09-09 Thread Randy Patterson
On Saturday 08 September 2007 16:15, Børge Holen wrote: > as previously stated... > > give us the printout of: > dpkg -l|grep apache > dpkg -l|grep php > > On Saturday 08 September 2007 14:55, Randy Patterson wrote: > > Hey, > > > > [Note:] This is a differen

[PHP] Open Source BTS??

2007-11-15 Thread Randy Patterson
Hey, I am needing to install a bug tracking system on a web server and looking for a good PHP open source solution. Looking for a pretty mature system that still has active development. Thanks for any suggestions. Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Images problem

2004-11-17 Thread Randy Rinehart
I believe you can use imagecopymerged to do this. http://us2.php.net/manual/en/function.imagecopymerge.php please let me know if that helps. Thanks -randy rinehart - Original Message - From: "Phpu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, N

Re: [PHP] How do I get referer in php?

2004-11-17 Thread Randy Rinehart
Yes, you should be able to use $_SERVER['HTTP_REFERER']; -Randy Rinehart - Original Message - From: "Brent Clements" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 17, 2004 1:54 PM Subject: [PHP] How do I get referer in php

Re: [PHP] redirecting to a success page

2004-11-22 Thread Randy Rinehart
You can send a header to redirect like below. Or you can print out some javascript location.href='successpage.php'; -randy rinehart - Original Message - From: "Judson Vaughn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, Novembe

Re: [PHP] cron job style php...

2005-01-16 Thread Randy Johnson
Russel, Yes you can run a cron job on php You may have to add a line like this at the top, it has been awhile since I have done it] #! /usr/local/php/sapi/cli/php this line would be different for your system -Randy - Original Message - From: "Russell P Jones" <[EMAIL P

Re: [PHP] Encoding problems using phpMyAdmin

2005-01-16 Thread Randy Johnson
I am just curious why you do not upgrade to the latest stable 2.6.0-pl3? Randy - Original Message - From: "Lars B. Jensen" <[EMAIL PROTECTED]> To: Sent: Sunday, January 16, 2005 11:40 PM Subject: Re: [PHP] Encoding problems using phpMyAdmin Just a quick note, this seem

RE: [PHP] Stringing sql queries?

2001-02-03 Thread Randy Johnson
What about an insert or an update instead of a select? thanks randy -Original Message- From: Thomas Weber [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 03, 2001 8:37 PM To: Sandeep Hundal Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Stringing sql queries? Yep, try this: SELECT

Re: [PHP] Pricing for PHP programming???

2001-02-04 Thread Randy Katz
sounds like you cannot afford NOT to have a second wife! DANG! Some folk have all the luck :! On Sat, Feb 03, 2001 at 09:25:35AM +0530, [EMAIL PROTECTED] wrote: > tOn Fri, 2 Feb 2001, johnny p. wrote: > > > Hah! My wife has a formal education in graphics design. My web sites > > would look lik

[PHP] Paging results

2001-02-14 Thread Randy Johnson
Can somebody give me a url of an example or an example of how to page results so they can be view by clicking page 1 page 2 or back and next? results obtained from mysql database. Thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Re: returning values/information from perl apps to php apps..

2004-10-04 Thread Randy J. Ray
ta in a structured format (comma-separated values, tab-separated, or even mock-XML) and having the PHP then parse it. Indeed, if you output it as XML, I believe that PHP has classes built-in that would allow you to effectively go straight to having a DOM representation of the data. Randy -- [EMAIL

Re: [PHP] a stupid question

2004-06-25 Thread Randy C Boland
That would work if aFunction was a variable - more less. It would display the inner single quotes, so you'd really want: echo "some text $aFunction some more text"; However, aFunction is, ironically, a function, so it needs to be a function call. echo "some text" . aFunction() . "some more text";

Re: [PHP] New changes

2004-06-28 Thread Randy C Boland
Isn't this a moderated list? And if so, how do messages like this keep getting through? On Mon, 28 Jun 2004 20:46:50 +1000, Aidan Lister <[EMAIL PROTECTED]> wrote: > > It's a virus, duh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] calling imagemagick from php

2004-06-29 Thread Randy C Boland
I seem to remember having similar problems with ImageMagick. Have you checked the permissions on the directory this PHP file is running in? You'll probably need to give group write permissions, and make sure the directory is in the same group that PHP is running under so that it has permission to

Re: [PHP] php conditional loop question

2003-08-14 Thread Randy L Johnson Jr
ction with a number exit(3) and use that value as the condition in the while?         Randy       * Thus wrote Randy L Johnson Jr ([EMAIL PROTECTED]): > I have done this but it does not seem to ever get to the end of file, I have > it inserting the values into the database, it goes for awhile aroun

Re: [PHP] error problem

2003-08-14 Thread Randy L Johnson Jr
there is something in the php.ini file that turns the display errors in browser on and off...   Randy    ---Original Message---   From: Kris Reid Date: Wednesday, August 13, 2003 10:36:59 PM To: PHP List Subject: Re: [PHP] error problem   Sorry the second "echo "Hello wo

Re: [PHP] php conditional loop question

2003-08-14 Thread Randy L Johnson Jr
I have done this but it does not seem to ever get to the end of file, I have it inserting the values into the database, it goes for awhile around 12 to 24 hours and then stops inserting the values into the database and I have to restart the script...   Randy    ---Original Message

[PHP] php conditional loop question

2003-08-14 Thread Randy L Johnson Jr
o reun the function if the data stops or in more general a certain condition is met. any ideas and comments would be greatly appreciated. Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2