php-general Digest 26 Jan 2001 16:10:25 - Issue 477
Topics (messages 36681 through 36739):
PHP/MYSql equivalent to Hypermail/Monharc?
36681 by: Greg Schnippel
Password security from PHP to MySQL
36682 by: Egan
Re: SQL Server DB to mySQL DB
36683 by: Jason
Sorry if this has come up before.
I want to update a select list from a mySql database whenever the
browser window gets the focus. This is because I anticipate that the
user will frequently use a second window to make additions to the
database that holds the list values while filling in the
what is the max number of elements into an array?
what is the max number of elements into an array?
Hi!
I'd like to get SSL_CLIENT_S_DN from mod_ssl but don't seem to be able
to get it using getenv() or apache_note(), it doesn't even show up when
doing phpinfo() .. any hints?
Count
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello...
I just upgraded my computer to NT5. When doing so, I accidentally installed
the wrong version of PHP. =(
I installed the CGI version... I want to use the ISAPI module. How can I
effectively undo what the installation program did to install the CGI
version? What should I do to
Hello everyone!
I am currently using Apache-1.3.14 with php-4.0.4pl1 compiled statically
into it and running on RedHat Linux 6.2 . Apache is configured to do
authentication for certain URLs via a auth_ldap module which is
dynamically loaded when Apache starts.
I noticed that when I access
Hi there!
I'm sure it's a stupid problem but the phpinfo does work while trying the
following html code:
htmlheadtitlePHP Test/title/head
body
?php phpinfo() ?
/body/html
the result is a blank page!
And when i create an php file with only: ?php phpinfo() ?
i have a dos window where a list
Hi again,
Okay! I am now able to compile (and use) Lerdorfs stocks example on
my Laptop which runs RedHat... But I still can't get it to work on
my Debian (work machine).
I use the following configure string on both machines - only differences
is the paths to pgsql and apxs
configure
Hello Chris,
Friday, January 26, 2001, 8:23:27 AM, you wrote:
C is there anyway to post without clicking a submit button?
You can, e.g. using javascript event.
onSomething="document.forms['formname'].submit()"
--
Best regards,
Max A. Derkachev mailto:[EMAIL PROTECTED]
Symbol-Plus Publishing
How do make admin site that lists htm documents from directory and i can
define link name to each of these?
So when user comes, he sees link list to these documents, with names i
defined.
Something not unlike this might work:
[Untested code]
create table links(
linkid int(11)
I am trying to show the records created from the previous day. How can I
make it show the date before today? My date field is like 2001-01-24
16:13:51. Below shows the current day...
$FileDate = date ("Y-m-d");
$connection = mysql_connect ("localhost", "*", "**");
if ($connection ==
You are entirely correct. However, I (personally) feel that by pricing it
so
high you're targeting a very small niche market at a higher rate. Pricing
it
in the "$300.00" range would not cost you that niche - but it would gain
you
the "x-million" users/freelance developers. Sure, $6,000 is
Hello all. I've spent the past month or two implementing a file upload
utility for the web based on PHP's http upload method. It works fine for
smaller files, and it's been working fine for files I've tried up to and
including 400 megs at a time. The problem I'm having is that we want to
I am trying to upload the files to the sever. For files that has only one
dot such as abc.txt and 123.doc, it works fine. But when uploading files
that have more than one dot such as 123.txt.pdf, there's problem, and I
tried to echo the $userfile[i], and it is "none". Codes are attached as
Hi all. In the project I'm working on, I've got a table with ids that are
written based on how many records are in the table. i.e., the first
record
has an ID of 1, the 50th is 50, etc. When a row gets deleted (I created a
web interface, I don't want all these members using phpMyAdmin),
I want to *read* a file into a page and not process any PHP. I'm just
reading an HTML file. I though it was simple, I thought I had it figured
out, but now when I try, I get the following error:
Unless there is PHP code in there that you want to make sure it doesn't get
executed, 'include'
I'm doing a page where the front page will show "news" stories. What I'd
like is if the story is longer than X words/chars/etc, the index page will
show the first X words, then a link for the full story.
Does anyone have a good idea on how to split after a certain number of
words?
?php
The "easiest" way to do that kind of output is "recursion"
It's a kind of iteration/looping thing where a function calls itself.
Sample:
function fact($x){
if ($x == 0){
return 1;
}
else{
return $x * fact($x - 1);
}
}
Basically the function eats itself rather
I'm finding some problems on using number_format($value, $decimal, ",",
".") when I have a value comming from a resultset (database query
results)...
If I had something like '123.45', using number_format it will return
'123,00'.
I think this happens because my value is a string and PHP
?
$fp = fopen("http://www.parentprofiles.com/clicker.php?profile_id=" .
$this-profile_id
. "code=1","r");
echo $fp;
?
to do it. however when I do all I get is a response that says:
Resource id #1
instead of giving me the page. Any ideas?
Basically, that Resource id # 1 is like a paper
i use the session-functions with php4 and everything works fine.
but if a visitor turns off cookies nothing seems to work..
is there a way to support a sessionid with cookies and thru the url ?
Yes. Compile PHP --with-trans-id (?) or just echo $PHP_SESSID (or whatever
it is) into all your
Hello!
I am trying to upload the files to the sever. For files that has only one
dot such as abc.txt and 123.doc, it works fine. But when uploading files
that have more than one dot such as 123.txt.pdf, there's problem, and I
tried to echo the $userfile[i], and it is "none". Codes are attached
preg_replace("/0+$/","",$number);
On Thu, 25 Jan 2001, Ethan Nelson wrote:
Almost there... actually this creates one problem...
It turns 40.00 into 4
It needs to quit shaving zero's when it hits the decimal point.
40.00 into 40
45.50 into 45.5
40.25 into 40.25
Thanks
-Original
On Thursday 25 January 2001 23:27, Ethan Nelson wrote:
It needs to quit shaving zero's when it hits the decimal point.
40.00 into 40
45.50 into 45.5
40.25 into 40.25
Hmm,
$ValWithoutZ = (double) $ValWithZ;
should work fine (i.e. interpreting the number as floating-point value
instead of
test
--
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]
Frank Joerdens wrote:
On Thu, Jan 25, 2001 at 05:10:54PM -0300, Martin A. Marques wrote:
[ . . . ]
OK, lets see if we can understand what each other is saying (maybe I'm not
getting your point here).
Lets say browser A connects to the apache server, to a page using php code.
Lets say
I need to draw circle using GD library. Can you get me some function doing
this?
Thanks.
--
Piotr Duszynski
http://www.softomat.com.pl
http://filmomat.3miasto.pl
http://www.3miasto.pl
--
PHP
As I understand it, echo is somewhat of an language construct and print is a
function.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 11:37 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Echo and Print
I know it is a kind of stupid
Hello,
I have developed a large web application the contents of which (language and
data) depends on the URL the site is accessed from, e.g. en.site.com would
display the "english" site, and "fr.site.com" would display the french site,
and so on.
The whole thing is "parameterized" through a set
Thanks for the input, I have turned it around now as you said and recorded
the projectID in the bid table rather than the other way round.
Cheers
Ade
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Any of these will work:
echo implode("\n", file($filename));
fpassthru(fopen($filename, "r"));
readfile($filename);
You probably want readfile().
http://www.php.net/manual/en/function.readfile.php
--
- Daniel Grace http://dewin.oldbattery.com/
"Space may be the final frontier but its
I have a variable(s) that hold the string:
"name"
and I'd like to kill the quotes so it contains:
name
I am aware of the strlen() function but can find the concant
Little Help?
Mike
If you *know* the variable is quoted you could also do:
$new = substr($variable, 1, -1);
I
Hi
Sorry - but as far as I can tell it does not work. It still have the same
strange behavior.
When using sleep I have no output. Usleep has no wait time (or it may delay
output a bit but not program execution) ?
Benny
""Daniel Grace"" [EMAIL PROTECTED] skrev i en meddelelse
Hi, I cut paste this from an earlier e-mail from this list, hope it helps:
-
The print() function returns a boolean indicating the status of the call. If
the write was successful, print() returns 1. If not, it returns
I want to install PHP on iMAC with MAC OS 9, please advise if possible.
Further, is there any lowcost or free web server that supports PHP on my MAC
OS9.
Thanks in advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
When I try to connect to mailbox, I get error "Connection timed out". Is
it possible to specify timeout for this?
TIA.
Dezider.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
i am wondering if anyone has written a snippet to process the current date
or mktime into a mysql timestamp feild.
~kurth
--
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
Hi,
I compiled and installed php4 for the first time and it seems that all
went right as the notice in /var/log shows:
[notice] Apache/1.3.12 (Unix) PHP/4.0.4pl1 configured -- resuming normal
operations
But when I try to execute any sort of php script Im stuck with an
Internal Server error and
(BC == "Brian Clark") [EMAIL PROTECTED] betokened:
BC I'm using Beta 2.10a (I'm in the Beta program), but I'm not
BC completely sure when this new feature was added (some where
BC between 2.00 and 2.10a):
BC If you go into settings and syntax for PHP in Preferences, I see a
BC 'function
On Thu, 25 Jan 2001 18:42:41 -0700 (MST), [EMAIL PROTECTED]
wrote:
I don't know, but I'd love to know the answer to this, too. I currently have
to do the same as you: output to file and then direct the browser to the disk-
based file. (Then I have to bother about file cleanup.)
I had pdflib
I'm doing a page where the front page will show "news"
stories. What I'd like is if the story is longer than X
words/chars/etc, the index page will show the first X
words, then a link for the full story.
Does anyone have a good idea on how to split after a
certain number of words?
Q: Is it possible to post plain/text data from PHP with the build-in CURL
functions?
Hello Mr. General PHP!
I want to post PLAIN/TEXT data to some webpage (through SSL). I want to do
this in PHP by using the build-in CURL support. However, by default, CURL is
posting the data as "url-encoded.."
whats the php function that will let me update a db field? I've been
looking at the manual but there seems to be no mention of it.
~kurth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
I'm doing a page where the front page will show "news"
stories. What I'd
like is if the story is longer than X words/chars/etc, the
index page will
show the first X words, then a link for the full story.
Does anyone have a good idea on how to split after a certain number of
words?
Does Version 4 support either { } "squiglees" or [ ] "brackets" in this
code:
if($retrn{strlen($retrn)-1} == '')
-or-
if($retrn[strlen($retrn)-1] == '')
Yes. This is a 4.x feature only. The idea is that in the long run, []
will no longer be supported for string offsets, only
i'm a bit slow todayplease disregard those last 2 questions from me and
i answered them myself :-)
--
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:
Why is it that I never get messages in the list from the late night coders
after like 6 central?
--
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
Unfortunately, it's not that simple.
You haven't factored in Support costs nor administrative overhead nor...
Well, I don't know what else the Marketing folks do when they figure these
things out, but that's why I'm not in Marketing, eh?
Right it's not my game either (marketing), but
Because of the way the code is currently written, a file upload ends up in
RAM before it gets written to disk. If you want to upload 1Gig files, you
need 1Gig of RAM. That's crap, we know, and Jim Winstead has volunteered
to fix this. Not sure what the timeline is on it yet though.
-Rasmus
This company is offering a visa card with no annual fee, no deposit and
will pay you for the people you refer.Just request the web address by
replying to :
[EMAIL PROTECTED]
Insert "request " in the subject line
1-month commercial license ($90).
Download wasn't too bad. I haven't had a chance to check out the Zend
LaunchPad. The installation (Apache Linux PHP 4.04pl1+patches) took me about
30 minutes for client and server which included the wait on the license key.
It took us another day to put
kyk():Prgm:Local a,b,c:
13-a:
"|+|"-b:ClrIO:Output
0,-1,left(b,a)""right(b,a):While abs(13-a)13:getKey()-c:If abs(50-c)=1
Then:a+c-50-a:Output 0,-1,left(b,a)""right(b,26-a):EndIf:EndWhile:EndPrgm
Play with the 1 and 3 keys. Guess what it does by just looking at the
Hi all,
I am having 5 rows in a mysql database related to five
different users. these rows contains their firstname,
lastname and details of scenes 1 to 5(these details
are numeric values from 1 to 3). if any of these
fields from scenes 1 to 5 are empty that will be
detected from the firstname
compile with --enable-trans-sid
works great for me :)
Chris Lee
Mediawaveonline.com
[EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
hi..
i use the session-functions with php4 and everything works fine.
but if a visitor turns off cookies nothing seems to
You can't on os9.
You have to run it on osX PB (or osx server I believe)
Go here:
http://homepage.mac.com/LightyearDesign/MacOSX/Packages/
I want to install PHP on iMAC with MAC OS 9, please advise if possible.
Further, is there any lowcost or free web server that supports PHP on my MAC
I dont know if this is reasonable to do or not, but what I'm thinking of
validating a user based on his/her current username/password.
Does anyone know if this is possible to do?
Or better yet - does someone have some code sitting around I can scavange
from? PHPBuilder didnt help much
Would there be any point in using php sessions if you aren't using cookies?
You have to store login info anyway, why not just use a temp table to store
transaction info and write to the database at the end of a session? From
what I've read on sessions, you have to use cookies
thanks
--
PHP
hi!
what's the difference between using
?php ? and using ? ? and using script language="php" /script
thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List
i'm having a horrible time updating 2 fields in the same db. I don't get
an error but the fields aren't updatedcan anyone send me a snippet for
the to learn from?
~kurth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
At 12:31 PM 1/26/2001, Krznaric Michael wrote:
sorry - here you all go..
// number crunching time
$count++;
$time = date("Y-m-d H:i:s");
$result = mysql_query("INSERT INTO links (count) VALUES $count WHERE lid=$id");
echo $result;
You need to be a little more specific about DB
I am trying to get my php.ini file configured correctly.
I have a script that calls the require function/command( I'm not sure which it is..)
Here's what the .ini file is:
include_path=d:\sites;d:\sites\merchantpower\setup
According to the notation in the .ini file I have the correct syntax,
You might want to try this:
mysql_query("INSERT INTO links (count) VALUES ("$count") WHERE
lid=$id");
Kurth Bemis wrote:
At 12:31 PM 1/26/2001, Krznaric Michael wrote:
sorry - here you all go..
// number crunching time
$count++;
$time = date("Y-m-d H:i:s");
$result =
On Fri, Jan 26, 2001 at 11:01:14AM +, Nuno Silva wrote:
[ . . . ]
i ran across this transaction problem vs. persistent conn in pgsql some time ago.
I found two workaround methods:
- don't use persistent conn's :-) or;
- start every conn with the usual pg_pconnect and then query a
The options: Get a graph-link cable (which I can't find ANYWHERE), or make
your own during study hall, making them sufficiently stupid that the code can
be compressed down to a screenful:
kyk():Prgm:Local a,b,c:13-a:"|+|"-b:ClrIO:Output
"Kurth Bemis" ...
At 12:31 PM 1/26/2001, Krznaric Michael wrote:
sorry - here you all go..
// number crunching time
$count++;
$time = date("Y-m-d H:i:s");
$result = mysql_query("INSERT INTO links (count) VALUES $count WHERE
lid=$id");
i'm having a horrible time updating 2 fields in
OK, I figured out that I had forgotten the quotes around the path(s), but I still
don't understand the path itself. Will it look in sub directories.For example:
include_path=".;d:\sites"
Will PHP look in any subs under sites?
- Shane
This company is offering a visa card with no annual fee, no deposit and
will pay you for the people you refer.Just request the web address by
replying to :
[EMAIL PROTECTED]
Insert "request " in the subject line
You can use premade flash movies just as you would in HTML. Therefore
everything that is normally available is available in PHP, plus if you
want, you get to use the wonderful libswf! :)
libswf isn't maintained anymore though. We will soon have the ming
library in PHP, but it works already.
I have created a Generator / PHP library which makes it easy to create Flash
content from PHP using Macromedia Generator.
Unfortunately, do to some bugs in PHP with the System() command on Windows,
I am not going to release the library until the next PHP update (assuming
they fix the bugs).
hi!
how can i get the php_oracle.dll, i'm working on windows NT workstation!
thanks!
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List (http://www.php.net/)
To
I have a script that pulls in the following file via: require 'common.inc'
The problem occurs when it hits the $UNIX_PATH variable. At least I think that's where
it creates a problem. If I comment it out it works fine, but I of course need that
variable.
First of all I created a script that
print is a function where u can add html tags like
print("brb hello $name") however echo is a command where we can't
include html tags ! echo "hello".$name
From: Philip Olson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] Echo and Print
Date: Fri, 26 Jan 2001
Hi Mike!
On Thu, 25 Jan 2001, Mike P wrote:
I know i'm a liitle slow but why does 2%4 = 2 and not 0 or 1
cause 4*0+2=2
thanks
Mike
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
print is a function where u can add html tags like
print("brb hello $name") however echo is a command where we can't
include html tags ! echo "hello".$name
This is VERY incorrect, please read this :
What is the difference between echo and print ?
Hi !!
I'm running PHP under IIS4 and PHP 4.0.4pl1 and all my scripts work perfect
but one that try to access a DBF database via ODBC.
I set all the permission on php.exe , the database and the script.
the error I receive is :
The specified CGI application misbehaved by not returning a
Hello,
I have successfully compiled mod_php4 and mod_python as DSO's for apache
1.3.14, and both will
work independently with apache, but if I try to load both of them at I
get the following apache
error:
dyld: /usr/sbin/apache multiple definitions of symbol _pcre_free
at a mysql prompt in the database where your table resides, type the
following:
alter table currentname rename newname;
That should take care of it.
--
Dominic
Fang Li wrote:
Does anyone know how to rename a database in MySQL?
Thanks!
fang
--
PHP General Mailing List
eschmid Fri Jan 26 10:52:37 2001 EDT
Modified files:
/php4/ext/pdf php_pdf.h pdf.c
Log:
Fixed some protos.
Index: php4/ext/pdf/php_pdf.h
diff -u php4/ext/pdf/php_pdf.h:1.12 php4/ext/pdf/php_pdf.h:1.13
--- php4/ext/pdf/php_pdf.h:1.12 Fri Jan 26 00:20:23
Here's a FAQ on renaming a mysql database :
http://www.faqts.com/knowledge_base/view.phtml/aid/1262/fid/102
If anyone has useful words to add to it then do so.
Philip
Fang Li wrote:
Does anyone know how to rename a database in MySQL?
Thanks!
fang
--
PHP General Mailing
Hello...
I just upgraded my computer to NT5. When doing
so, I accidentally installed
the wrong version of PHP. =(
I installed the CGI version... I want to use the
ISAPI module. How can I
effectively undo what the installation program
did to install the CGI
version? What should I do to
Hi,
I have a script which slowly processes several thousand lines of text. I
want to give users a feeling for that the process is not dead. Thus, I am
using:
...
print "processing ";
print"
";
flush();
for($i=0;$icount($total);$i++) {
print".
";
On Fri, 26 Jan 2001 13:37:42 -0500, Shane McBride
([EMAIL PROTECTED]) wrote:
I have a script that pulls in the following file via: require
'common.inc'
The problem occurs when it hits the $UNIX_PATH variable. At least I
think that's where it creates a problem. If I comment it out it
works fine,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm trying to do something in PHP4.0.4p1 that in the past I've done in
mod_perl, but appears to be more difficult. Basically I have some PHP
code that does access checks against a DB to see if that user has access
to the requested URL. I'm using
Just do:
Header("Location: $url");
exit;
-Rasmus
On Fri, 26 Jan 2001, Aaron D. Turner wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm trying to do something in PHP4.0.4p1 that in the past I've done in
mod_perl, but appears to be more difficult. Basically I have some PHP
code
I'm having some trouble with PHP4 on a FreeBSD 3.2 machine. PHP3 compiles
and works fine, but PHP4 gives a floating point error (both as a module
and static). PHP4 under FreeBSD 4.2 works fine.
Any ideas,
Julia
--
[ Julia Anne Case ] [Ships are safe inside the harbor, ]
Try a snapshot from http://snaps.php.net
This should be fixed.
-Rasmus
On Fri, 26 Jan 2001, Julia A . Case wrote:
I'm having some trouble with PHP4 on a FreeBSD 3.2 machine. PHP3 compiles
and works fine, but PHP4 gives a floating point error (both as a module
and static). PHP4 under
when i put this
header('location: $url');
i get this
http://domain.com/$url
what the hell am i doing wrong?
--
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,
I have a script that works fine on my server but gives this error on the
server where I need it.
Warning: File Upload Error - Unable to open temporary file [./php06339aaa]
in /home/sites/site9/web/photo_admin/upload.php3 on line 138
Could someone point me in the right direction?
Thanks.
Data
Sort of along these lines, has anyone done tests to see if you can 100%
ditch php.ini, and run all the php config info in httpd.conf? I'd much
rather do it that way, I'd only have to maintain 1 file...
_a
On 1/25/01 1:36 AM, in article
Pine.BSF.4.10.10101250910530.26823-10@localhost,
print "Content-type: text/html\n\n";
That's the "perl" method, because perl doesn't have any native functions for
adding stuff to the response header, so you just print it :)
header( "Content-type: test/html" );
The above is correct.
_alex
--
PHP General Mailing List
Kurth Bemis wrote:
when i put this
header('location: $url');
i get this
http://domain.com/$url
what the hell am i doing wrong?
erm,
header ("Location: $url");
[double quotes, so PHP will consider your dollars, yens or whatever]
--teodor
--
PHP General Mailing List
Can someone give me an example of a simple sybase query page?
here is what i have:
?
$server = "someserver";
$user = "sybuser";
$pass = "sybpass";
$query = "select * from SomeSillyTable where ThatSillyGuy='me'";
sybase_connect ($server, $user, $pass);
sybase_query ($query);
sybase_close ();
?
On Friday, January 26, 2001, at 09:16 AM, lou wrote:
You can't on os9.
Sure you can.
Its called webten
http://www.webten.com/
and it supports php
You have to run it on osX PB (or osx server I believe)
Or you could go with a freely available operating system such as Linux.
You can
At 9:32 AM -0800 1/26/01, Brandon Orther wrote:
Hello,
I am doing a do loop and I want it to change what variable to use each
run...
First time use: $run1
Second time use: $run2
Third time use: $run2
I hope you can understand what I am saying.
'Variable variables'; see
Thanks, it works now.
Julia
Quoting Rasmus Lerdorf ([EMAIL PROTECTED]):
Try a snapshot from http://snaps.php.net
This should be fixed.
-Rasmus
On Fri, 26 Jan 2001, Julia A . Case wrote:
I'm having some trouble with PHP4 on a FreeBSD 3.2 machine. PHP3 compiles
and works fine,
that sounds like a permissions error.
check the permissions for all of the directories and the file along your
path.
-Original Message-
From: Data Driven Design [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 1:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] File upload error
I
How could I:
How could I check to make sure a page exists before I redirect to it (a page
within my own server, but page name passed in querystring - therefore it
could be changed by client)?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
this is a function that I wrote to solve this problem, but it is almost
impossible to get a truly random number you can get somthing pretty close by
seeding with somthing like the time function, using the seconds since epoch
and this should be hard to duplicate.
?php
function
Try this:
?
$filename = "dat.txt";
if (file_exists($filename)){
echo "file exists";
} else {
echo "file does not exist";
}
?
Robert W. Collins
Web Developer II
Insight / TC Computers
www.insight.com
www.tccomputers.com
-Original Message-
From: Karl J. Stubsjoen
1 - 100 of 163 matches
Mail list logo