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
.
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]
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]
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]
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
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
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]
: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?
>
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
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
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
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: [
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
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
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
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= $
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
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
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
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 ?
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
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
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
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
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
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
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
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
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
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"]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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";
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
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
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
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
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
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
101 - 152 of 152 matches
Mail list logo