[PHP] anyone using session_mysql successfully

2009-06-23 Thread Randy Paries
was hoping someone in the group was 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

[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

[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] 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 different problem from the one I posted earlier today. I

[PHP] LAMP Server setup help

2007-09-08 Thread Randy Patterson
. 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. It worked great but now I trying to setup

[PHP] Can't execute PHP script

2007-09-08 Thread Randy Patterson
here before finding an apache list. Although 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

[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
of 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] ),0 ); Does that look right? No. if $_SERVER[SERVER_NAME] == 'www.domain.com

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

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 that there's still normal

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

2005-02-25 Thread Randy Johnson
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

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:

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

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 Mailing List

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 need

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] [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: input type=text name=name value=your name id=name /br/ Age: input type=text name=age value=your age id=age /br/ try that and see how

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 unsubscribe

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 PROTECTED] To: php

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: php-general@lists.php.net Sent: Sunday, January 16, 2005 11:40 PM Subject: Re: [PHP] Encoding problems using phpMyAdmin Just a quick note

Re: [PHP] redirecting to a success page

2004-11-22 Thread Randy Rinehart
You can send a header to redirect like below. ?php header(location: successpage.php); ? 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, November 22

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, November 17, 2004 10:05 AM

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? Let's say I have a page at another

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

2004-10-04 Thread Randy J. Ray
(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 PROTECTED] http

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

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] 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; On

[PHP] AFter the URL in PHP

2004-01-23 Thread Randy Johnson
know what I am talking about? Thanks Randy

[PHP] query_data

2003-12-06 Thread Randy Johnson
I have a query $query=select a,b,c,d,e from table where id='z'; $result=mysql_query(); $query_data=mysql_fetch_array($result); I normally would do this: $a=$query_data[a]; etc.. is there a way to do this is in a loop so I do not have to do all that typing? Thanks Randy -- PHP General

Re: [PHP] query_data

2003-12-06 Thread Randy Johnson
oh my gosh, I have been coding php for 4 years now. They way I did it before I saw in numerous examples from the books that I had bought. I think of all the code I have wrote and I did not even have to do it that way. Thanks a bunch, Randy - Original Message - From: John W. Holmes

[PHP] International Addresses and Telephones

2003-12-04 Thread Rankin, Randy
I have a form which captures US addresses ( address, city, state ) and telephone numbers ( 10 digit ) and am writing this data to a MySQL table. I need to expand this to capture non-US info, so I was hoping for some guidance on forms and table structures. I have googled this to death and still

[PHP] entering in text data and losing the \n

2003-11-29 Thread Randy Johnson
This is line 2 This is line 3 Here is what it would be after I extracted it and displayed it to the screen This is line 1 This is line 2 This is line 3 What do I need to do to get it to retain the line feeds? Thanks Randy

Re: [PHP] entering in text data and losing the \n

2003-11-29 Thread Randy Johnson
Yep that was it. Thank you very much. Randy - Original Message - From: Chris Shiflett [EMAIL PROTECTED] To: Randy Johnson [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, November 30, 2003 1:17 AM Subject: Re: [PHP] entering in text data and losing the \n --- Randy Johnson

Re: [PHP] php conditional loop question

2003-08-14 Thread Randy L Johnson Jr
) 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 around 12 to 24 hours and then stops

Re: [PHP] error problem

2003-08-14 Thread Randy L Johnson Jr
there is something in the php.ini file that turnsthe 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 world&qu

[PHP] LAMP

2003-08-14 Thread Rankin, Randy
I am setting up a new Redhat Linux 9 box for use as a non-production test server. I prefer to use source files v. RPM's. Anyone know which of the newest versions of Apache, MySQL and PHP will play together nicely. Thanks Randy Rankin

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 offile, 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
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

[PHP] PHP, MySQL and Flash

2003-07-09 Thread Rankin, Randy
this 'textually', but he is _determined_ that he must have the graphic 'drag and drop' feature. There may be another method ( Javascript ? ) to accomplish the same effect. I am certainly open to any advice and/or opinions. Any pointers would be _greatly_ appreciated. Thanks, Randy Rankin

[PHP] client running

2003-07-09 Thread Randy Johnson
an error message cause I had the mysql username wrong so it is reading the script. I checked the syntax with the -l command and I ran it with -a as well and nothing I created a test script that simply echoed my name and it worked great. any ideas? Thanks Randy -- PHP General Mailing List (http

Re: [PHP] client running

2003-07-09 Thread Randy Johnson
All is well. The site I was connecting to with the stream changed the string format. Once I figured that out it worked flawlessly :-) Randy - Original Message - From: Randy Johnson [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Brenton Dobell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent

[PHP] array question

2003-05-30 Thread Randy Johnson
in query data again . I perform calculations the first time and the second time I need to display the rows on the screen. Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] array question

2003-05-30 Thread Randy Johnson
I found this in the manual user comments and it worked great mysql_data_seek($result,0); Randy - Original Message - From: Randy Johnson [EMAIL PROTECTED] To: Brian Dunning [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, May 29, 2003 10:14 PM Subject: [PHP] array question How do

[PHP] command line

2003-04-03 Thread Randy Johnson
What would be the syntax for executing a command line php script from the web. and is there way to check the staus of the script via the web ie is it stil running or not? Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing data between the web to an Intranet

2003-04-01 Thread Randy
else. You would have something like: ProxyPass /yourwebdirectory/ http://yourlocalsite/filloutdbform.html Some info on it is here: http://www.devshed.com/Server_Side/Administration/ApacheProxy/page1.html Best regards, Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] connecting to mysql db

2003-03-25 Thread Rankin, Randy
Place the code in a file ( ie; dbcon.php ) and include that file in any page which may need it using an include statement: include(dbcon.php); Randy -Original Message- From: Iggy [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 7:50 AM To: [EMAIL PROTECTED] Subject: [PHP

RE: [PHP] Limit the amount of returns in a MySQL query

2003-02-07 Thread Rankin, Randy
select * from mailaddresses where id 10 LIMIT 10; -Original Message- From: Daniel Page [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 2:53 PM To: [EMAIL PROTECTED] Subject: [PHP] Limit the amount of returns in a MySQL query Hi All, Imagine I have a giant database table

Re: [PHP] email/time question

2003-01-10 Thread Randy Johnson
hello, i am using php with mysql-innodb table support Is there a command to find out if a commit was successful? If not how do i go about it? Thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] email/time question

2003-01-02 Thread Randy Johnson
Here is what i need to do. I have a form where a user will submit, email address, email text and a time like 11:15pm and at 11:15pm the email is supposed to be sent out. any ideas on how i can make this happen automatically??? Randy -- PHP General Mailing List (http://www.php.net

[PHP] RE: [PHP-DB] Broken Links 2

2002-10-24 Thread Rankin, Randy
be great to hear from you. Thanks again for all your help! Randy - BEGIN CODE -- ? if( $image_id ) { $sql=SELECT image_bin_data from IMAGES where image_id='$image_id'; $result=db_query ( $sql ); $record=db_fetch_object ( $result ); $image=$record-image_bin_data

RE: [PHP] php/frontpage

2002-10-17 Thread Rankin, Randy
Yes. Frontpage can edit php files ( albeit not very gracfully ). So, if you must ... Open Front Page Select Tools | Options Select the Configure Editors tab and add the .php extension. HTH, Randy -Original Message- From: Shaun [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 17

[PHP] Confused

2002-09-23 Thread Rankin, Randy
group based on the group_id? How would I loop through to create a table for each group? Thanks in advance for any help. Randy Rankin

[PHP] What does this error mean

2002-09-22 Thread Randy Johnson
What does this error mean? Warning: Wrong parameter count for mysql_query() Thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What does this error mean

2002-09-22 Thread Randy Johnson
? Randy - Original Message - From: Daniel Kushner [EMAIL PROTECTED] To: 'Randy Johnson' [EMAIL PROTECTED]; 'Paul Nicholson' [EMAIL PROTECTED]; 'Bryan McLemore' [EMAIL PROTECTED]; 'PHP GEN LIST' [EMAIL PROTECTED] Sent: Sunday, September 22, 2002 2:34 PM Subject: RE: [PHP] What does

[PHP] question about taking post to session

2002-09-21 Thread Randy Johnson
hello, how could i take all the variables in $_POST[] and move them to $_SESSION[]? example $_POST[name]=$_SESSION[name] Thanks in advance Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Date Concat?

2002-09-20 Thread Rankin, Randy
This produces the following: start_date: September 16, 2002 end_date: Sepetember 20, 2001 Based on the above, I would like to echo out something like this: You will be in training September 16 - 20, 2002. Is this possible? Thanks in advance, Randy

[PHP] SESSION ARRAY

2002-08-29 Thread Randy Johnson
What is the proper syntax for storing an array in a session? is it $_SESSION[BILLARRAY]=$ARRAY? Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql upate return false?

2002-08-22 Thread Randy Johnson
I have a function update_trans(); in a mysql_query() that processes an update, what could i check for to see if it was successful or not. The update only updates 1 row. Thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql upate return false?

2002-08-22 Thread Randy Johnson
Is this a proper way to see if an insert has failed? $Query=insert blah into blah where blah=blah; if (! mysql_query($Query,$link)) { $dberror= mysql_error() } Is there a better way to do it? Randy - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED

[PHP] directory help

2002-08-21 Thread Randy Johnson
I need some help, I need to go through a number of directories and rename each of the files like this img001 img002 img003 do dir 1 would have img001 img002 img003 directory 2 might have img004 img005 and directory 3 would have img006 img007 img008 Thanks Randy -- PHP General

[PHP] php Transaction question

2002-08-20 Thread Randy Johnson
=update blah where blah;; mysql_query($query); $query=committ;; mysql_query($query); Thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] User data validation

2002-08-19 Thread Randy Johnson
variables. My question is: should i run the data through validation again or can i be assured that the data is a ok because it was already validated ,stored in a session and then pulled from a session. Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] tracking visitors till registration?

2002-08-19 Thread Randy Johnson
How do I surpress php warnings from being displayed to the screen Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SQL Injection/Data Balidation

2002-08-16 Thread Randy Johnson
I didn't see that, what a waste of paper Randy - Original Message - From: Edwin @ [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, August 16, 2002 1:14 PM Subject: Re: [PHP] SQL Injection/Data Balidation Yeah, I'm scared... Please excuse me but may I

[PHP] question concerning php parsing

2002-08-13 Thread Randy Johnson
and if I don't need all those functions to be in memory just the function that i call. Hope i did not confuse anybody. Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sessions in a database?

2002-08-13 Thread Randy Johnson
When i started to learn php there was talk of storing session information in a database rather than in a particular directory like /tmp Is it better to store the session data in a database rather than a directory? Is it faster if it is stored in the database? Randy -- PHP General Mailing

Re: [PHP] Win PHP Editor...

2002-08-10 Thread Randy Johnson
I noticed they have not come out with a new version in quite a long time and do not answer their emails? anybody else heard about any future releases of editplus? Randy - Original Message - From: Liam MacKenzie [EMAIL PROTECTED] To: Dave at Sinewaves.net [EMAIL PROTECTED]; PHPlist

Re: [PHP] Re: Protect PHP coding

2002-08-02 Thread Randy Johnson
Does the bcompiler below improve performance? make scripts run faster? anybody have a testimonials on it's use?? Thanks, Randy - Original Message - From: Manuel Lemos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 01, 2002 9:14 PM Subject: [PHP] Re: Protect PHP

[PHP] mcrypt

2002-08-01 Thread Randy Johnson
or is their something better. Thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mcrypt

2002-08-01 Thread Randy Johnson
I found that the some of the high ascii characters would not store right in the database or something cause when i went to compare them, the comparison would fail. Randy - Original Message - From: Danny Shepherd [EMAIL PROTECTED] To: Randy Johnson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED

[PHP] String Question

2002-07-31 Thread Randy Johnson
if the string were only 10 long $string=abcdefghij then $string1=abcdefgh $string2=ij any suggestions would be greatly appreciated. Thanks, Randy

Re: [PHP] Inconsistent behavior with preg_match_all in conditional

2002-05-29 Thread Randy Janinda
It never fails. I mention toil for hours and mention the problem to a public forum and it turns out to be a typo. Thanks Jason. On Wed, 2002-05-29 at 00:30, Jason Wong wrote: On Wednesday 29 May 2002 11:06, Randy Janinda wrote: Hello everyone, I have a script to check a user submitted

[PHP] Inconsistent behavior with preg_match_all in conditional

2002-05-28 Thread Randy Janinda
Hello everyone, I have a script to check a user submitted string. It may be multiple words. If a word is found to be 3 characters or less, the script should retain the case of the string IF all the characters are uppercase. Otherwise, the script will make the first character of each word

RE: [PHP] opendir security hole

2002-05-23 Thread Randy Wilcox
Use: http://us2.php.net/manual/en/configuration.php#ini.open-basedir It's also a good idea to always validate the data that comes from the user, especially when dealing with file related functions. Randy -Original Message- From: daniel [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23

[PHP] date Question

2002-05-20 Thread Randy Johnson
[year]; $tmonth= $date_time_array[month]; outputs 5202002 May i need it to output 4/20/2002 April Thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] virtual coin toss 55%

2002-05-17 Thread Randy Johnson
somebody could offer a 50/50 coin toss game and gurantee a 45% win ratio for the player The idea of game programming is appealing, but I have no idea how you would gurantee that the player wins 45% of the time and the operators win 55% of the time. Thanks in advance Randy

Re: [PHP] extracting a html file name

2002-04-23 Thread Randy Johnson
Matt, Thanks That worked perfectly! I cannot believe I did not think of explode, i have used it before :-) Thanks again, Randy - Original Message - From: Matt Williams [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Dave Sugar [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 23

[PHP] storing session variables in a database

2002-04-18 Thread Randy Johnson
anybody have a good tutorial/example of storing sessions in a database? Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File Edit

2002-03-25 Thread Randy Johnson
;; In this example I want to be able to be able to pull the ipaddresses out and edit them and add a new one on to the end and then write the data back to the file. Thanks in advance Randy

Re: [PHP] File Edit

2002-03-25 Thread Randy Johnson
How do I know what part of it to read in the array? - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Randy Johnson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 25, 2002 9:03 PM Subject: Re: [PHP] File Edit You read the entire file into memory (an array

Re: [PHP] File Edit

2002-03-25 Thread Randy Johnson
: Rasmus Lerdorf [EMAIL PROTECTED] To: Randy Johnson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 25, 2002 9:11 PM Subject: Re: [PHP] File Edit You read all of it On Mon, 25 Mar 2002, Randy Johnson wrote: How do I know what part of it to read in the array? - Original Message

Re: [PHP] Session Varaible Problem

2002-03-22 Thread Randy Phillips
Are you calling session_start() on the subsequent pages you want to be part of the session? No I was not. That was the problem. Thanks Rasmus. -- Rp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session Varaible Problem

2002-03-21 Thread Randy Phillips
Hi, I have tried every example of creating a session variable I could find on php.net and have had the same results with all of them. The session variables get set on the initial page but that's the only place I can access them. I am new to php so I'm sure I have just overlooked something.

Re: [PHP] Variable problem

2002-02-04 Thread Randy Johnson
I heard before that you can store session variables in a database rather than using the tmp directory etc etc..Does anybody have any links on this? Thanks Randy - Original Message - From: Yoel Benitez Fonseca [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 18, 2002 2

Re: [PHP] Logo proposal

2001-12-12 Thread Randy Johnson
How about the Rhino ? - Original Message - From: Billy Harvey [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 8:30 AM Subject: RE: [PHP] Logo proposal On Wed, 2001-12-12 at 08:11, Armin Hartinger wrote: Personally, I think it should be something

[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] PHP Execute as User ???

2001-07-31 Thread Randy Katz
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: [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

[PHP] Variable dump on error

2001-07-19 Thread Randy Miller
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 PROTECTED

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

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? Create a text

[PHP] Downloading Data from Database

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

[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

[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]

  1   2   >