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

2003-04-01 Thread Randy
y never went anywhere 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.

Re: [PHP] include path confusion

2001-01-10 Thread Randy
directories in the path. I'm sure PHP doesn't work this way, but I can't figure out how it does work. Please, if anybody understands this, let me know. Thanks! Best regards, Randy Tuesday, January 09, 2001, 9:33:34 AM, you wrote: R> I've done that too, but it's

Re: [PHP] include path confusion

2001-01-11 Thread Randy
Thanks for the info Brian. But what about the path you have in the include statement? IE: include "../path1/file.php" Does it ignore the path? Try the path? Or just append that path to the end of each path in the include_path? Best regards, Randy Wednesday, January 10, 2001,

Re: [PHP] include path confusion

2001-01-11 Thread Randy
Thanks for the info Brian. But what about the path you have in the include statement? IE: include "../path1/file.php" Does it ignore the path? Try the path? Or just append that path to the end of each path in the include_path? Best regards, Randy Wednesday, January 10, 2001,

Re: [PHP] include path confusion

2001-01-11 Thread Randy
Thursday, January 11, 2001, 11:03:31 AM, you wrote: BC>> Using PHP 3.0.18, every, single time I've used something like: BC>> include('../farmers/underwear.php'); BC>> It works as expected. BC> I'm half alseep. I see what you're saying. I suppose if you did: BC> include('corn.php'); BC> It's going

Re: [PHP] PHP Editors

2001-01-22 Thread Randy
Hello Jeff, Everyone has their favorite editor, and FWIW mine is editplus. I've programmed for almost 20 years with many different editors and in my opinion, this is the best editor I've ever used. It works great with PHP. www.editplus.com Best regards, Randy Sunday, January 21

Re: [PHP] Ideas?? (OT- MySQL)

2001-01-25 Thread Randy
tes, I've had to maintain/fix other programmer's programs who used that technique and it will strangle the program. Best regards, Randy Thursday, January 25, 2001, 1:17:37 AM, you wrote: MK> <[EMAIL PROTECTED]> wrote ... >> I am creating a web site which allows users

Re: [PHP] edit plus

2001-01-25 Thread Randy
Hello Pat, I've emailed you the files that I use. I've customized them a bit since I downloaded them from editplus.com. Best regards, Randy Thursday, January 25, 2001, 4:02:45 PM, you wrote: PH> Anyone who uses Edit Plus. Can you send me the php function files and auto PH&g

Re: [PHP] html table

2001-01-25 Thread Randy
$altcolor=$tblbgcolor1; else $altcolor=$tblbgcolor2; echo "Text to display on Row"; } (this loops through rows fetched from a mysql table, but can be any kind of loop) Best regards, Randy Thursday, January 25, 2001, 3:57:47 PM, you wr

Re: [PHP] Question about dopping zeros

2001-01-25 Thread Randy
laces. Best regards, Randy Thursday, January 25, 2001, 1:10:18 PM, you wrote: EN> I need to format decimals that are percise to the second place in the EN> following format: EN> 4.00 to 4 EN> 4.50 to 4.5 EN> 4.25 to 4.25 EN> As you can see, I just want to drop the trailing

Re: [PHP] edit plus

2001-01-25 Thread Randy
Hello Kristi, Sure, I'm sending them now... Best regards, Randy Thursday, January 25, 2001, 4:56:03 PM, you wrote: KR> Could you email them to me too? :) KR> - Original Message - KR> From: "Randy" <[EMAIL PROTECTED]> KR> To: <[EMAIL PROTEC

Re: [PHP] Question about dopping zeros

2001-01-25 Thread Randy
use R> than reg expressions and replaces. R> Best regards, R> Randy R> Thursday, January 25, 2001, 1:10:18 PM, you wrote: EN>> I need to format decimals that are percise to the second place in the EN>> following format: EN>> 4.00 to 4 EN>> 4.50 to 4.5

[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

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

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 tra

[PHP] PHP, MySQL and Flash

2003-07-09 Thread Rankin, Randy
'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
et 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

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" <[EMAI

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

[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

[PHP] array question

2003-05-30 Thread Randy Johnson
I access the data 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

[PHP] String Question

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

[PHP] mcrypt

2002-08-01 Thread Randy Johnson
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" <[

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

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.n

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

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

[PHP] php Transaction question

2002-08-20 Thread Randy Johnson
; mysql_query($query); $query="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

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

[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] Date Concat?

2002-09-20 Thread Rankin, Randy
te FROM training 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] question about taking post to session

2002-09-20 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] 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] 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

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] 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 -- image_bin_data; $new_w=75; $new_h=75; Header("Content-type: image/png"); $src_img=@ImageCreateFromString($image); $dst_img=@ImageCreate($new_w, $new_h); ImageCopyResample

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

2003-11-29 Thread Randy Johnson
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 tex

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

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

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. H

[PHP] AFter the URL in PHP

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

[PHP] Sessions

2001-01-12 Thread Randy Johnson
example? If not what would be another way I could implement the above. 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] Script execution Speed

2001-01-12 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] RE: Ethics question...

2001-01-18 Thread Randy Johnson
is there any benchmarks or proof that I should host a high traffic site on a FREEBSD/APACHE instead of a redhat Linux/Apache server? randy -Original Message- From: Ayan R. Kayal [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 1:42 PM To: [EMAIL PROTECTED] Subject: [PHP] RE

[PHP] Unique Session Question

2001-01-20 Thread Randy Johnson
at are actively using my site to be logged out after 5 minutes just the folks that are sitting idle... Any ideas, 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 ad

[PHP] date

2001-01-20 Thread Randy Johnson
if this would be the most efficient way to do this? 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] date

2001-01-25 Thread Randy Johnson
rious if this would be the most efficient way to do this? 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] offshore Dedicated Hosting

2001-02-22 Thread Randy Johnson
Anybody know of an offshore dedicated web server hosting companies? 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] cutting apart form field data

2001-03-02 Thread Randy Johnson
okay I want to have the user submit multiple values in a text form field ex day,night,month How do I take that data and break it apart into separate variables? thanks randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP] Converting String to Variable

2001-03-03 Thread Randy Johnson
Is there anyway to convert a string to a variable example $str="monday"; I would like to then do this: $monday="blah"; thanks randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: [PHP] Converting String to Variable

2001-03-03 Thread Randy Johnson
it may look weird but that is the way it needs to be done. here is a better example $str=myfunct() this returns monday then i want the monday to turn into this $monday so i can do this $monday="BlaH"; thanks randy -Original Message- From: Ernest E Vogelsinger [mai

[PHP] Page not found error

2001-03-04 Thread Randy Johnson
if I leave my browser on a php and then I click a link after lets say 5 or 10 minutes that links to another php page it says page not found even though the page is there. has anybody else experienced this error? thanks randy -Original Message- From: Randy Johnson [mailto:[EMAIL

[PHP] Sessions Kill all

2001-03-08 Thread Randy Johnson
Is there a way as a server admin to kill all sessions to a site. I need a way to logout all members to a site. 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

RE: [PHP] Sessions Kill all

2001-03-08 Thread Randy Johnson
Does anybody know where I could get more info on storing session data in a database rather than the default way? thanks randy -Original Message- From: Christian Reiniger [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 12:58 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Sessions

[PHP] Sessions

2001-03-09 Thread Randy Johnson
Is there a way to have a session end if they leave my site and go to another? 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

[PHP] how fast is php

2001-03-15 Thread Randy Johnson
I have a question. can a 1 php script access a mysql database more than 10 times a second it's a simple updated statement? if it can how many times do you think it can access the database in a second? thanks randy -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] Frames

2001-03-16 Thread Randy Johnson
is there a way in php if a page is supposed to be in frames and the user tries to view it outside of the frame it automatically reloads the page into the frame. thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] Frames

2001-03-16 Thread Randy Johnson
is there a way in php if a page is supposed to be in frames and the user tries to view it outside of the frame it automatically reloads the page into the frame. thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] temp file help

2001-04-17 Thread Randy Johnson
navailable or cannot be found. BUT if I right click and says "The file cannot be written to cache". I even commented out the following: header("Pragma: no-cache"); But it still did not work. Please help !!! Thanks Randy include "db.inc"; header("Conte

RE: [PHP] temp file help

2001-04-17 Thread Randy Johnson
Nope This doesn't work either. I am going to find header documentation and see if I can find a work around -Original Message- From: Phil Driscoll [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 12:48 PM To: Randy Johnson; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subjec

[PHP] RE: [PUP] temp file help

2001-04-17 Thread Randy Johnson
ok this doesn't work either I get the same cache error. anybody have any other suggestions? Randy -Original Message- From: Phil Driscoll [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 12:48 PM To: Randy Johnson; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP]

[PHP] Last 10 rows

2001-04-17 Thread Randy Johnson
How do I get the last 10 rows in a table? 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 part II

2001-04-18 Thread Randy Johnson
I have not managed to get IE to download my file on the fly as suggested. so I was wondering if there are any other suggestions on how I can create a temp file for download and after the download is complete the file is deleted. thanks randy Instead of: header("Content-disposition: fil

[PHP] Multiple Connections

2001-04-19 Thread Randy Johnson
Is there any special way or anything I should know about opening connections to 2 different databases in a php script? 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

[PHP] multiple connects

2001-04-19 Thread Randy Johnson
how do I make sure the right connection is being used when I have 2 persistent connections. is there any documentation on this ? thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] mysql_free_result

2001-04-20 Thread Randy Johnson
Does php release the memory used by the result set when it is done executing? if so why should I use mysql_free_result() 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

RE: [PHP] mysql_free_result

2001-04-20 Thread Randy Johnson
Does the Mysql_free_result slow down the script at all? Randy -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 8:49 PM To: Randy Johnson Cc: Php-General Subject: Re: [PHP] mysql_free_result > Does php release the memory used by the res

[PHP] random letters and numbers

2001-04-24 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] FATAL ERROR

2001-04-25 Thread Randy Johnson
Several people got the following error today when accessing my site. Does anybody know what is going on? They are PHP scripts accessing a mysql database if that helps. I am not sure if this is a physical memory problem or what Thanks Randy -- PHP General Mailing List (http

[PHP] RE: [linux] FATAL ERROR

2001-04-25 Thread Randy Johnson
sorry i forgot to paste the error i was getting Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3840 bytes) in Unknown on line 0 -Original Message- From: Randy Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 7:49 PM To: [EMAIL PROTECTED

[PHP] PHP FREE MEMORY

2001-04-25 Thread Randy Johnson
L SET dog ='$var' WHERE type ='$var2'"); $nr=mysql_affected_rows(); if ($nr==0) { process error} } thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

[PHP] mkstemp()

2001-04-26 Thread Randy Johnson
I cannot find any documentation on mkstemp() . Can somebody point me in the right place? 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

[PHP] Command Line

2001-04-30 Thread Randy Johnson
how do access arguments if I run a script from the command line example php myscript.php arg1, arg2 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

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

[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

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 PROTE

[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

[PHP] date Question

2002-05-20 Thread Randy Johnson
ay"]; $year = $date_time_array["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

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

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

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 s

[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. Here

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] File Edit

2002-03-25 Thread Randy Johnson
456.789.12 ;; 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

Re: [PHP] File Edit

2002-03-25 Thread Randy Johnson
- From: "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:

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 some

[PHP] Crypt problem

2001-03-22 Thread Randy Johnson
with enough room to store the password so it isn't cutting it off when inserting to the database. 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] security

2001-03-22 Thread Randy Johnson
script. 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] Explode

2001-03-23 Thread Randy Johnson
How would I use to explode to extract the following "name address city state zip" I want to break that up and then do this if (empty($name)) if (empty($address) thanks randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

  1   2   >