driguez [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 19, 2001 3:18 PM
To: King, Justin
Subject: Re: [PHP] Windows 2000 Permissions error
You said you were running on win 2000
shouldn't you use c:\inetpub\wwwroot as your startdir instead of
/inetpub/wwwroot ??
hope this help
- Origina
ub/wwwroot/info/transportation/Trans..." I'm
receiving the error. Since the Trans directory is the directory with
the different permissions, I'm lead to believe it's a permissions issue.
-Justin
-Original Message-
From: Frewuill Rodriguez [mailto:[EMAIL PROTECTED]]
Sen
While trying to use dir() on a certain directory, I get the error
"Warning: OpenDir: Invalid argument (errno 22) in
c:\inetpub\wwwroot\search\update.php on line 71".
I'm aware this is most likely a permissions error, but I've already
given SYSTEM, SELF, and SERVICE full control over the direc
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 3:13 PM
To: King, Justin
Cc: Joseph Bannon; [EMAIL PROTECTED]
Subject: RE: [PHP] randomly picking a variable from an array
I'd say the easiest way would be to use array_rand()
See http://php.net/array_rand
-Rasm
I'm actually doing the same thing for my district. We've developed a
code system much like html, only not. Sounds stupid but it works. I
mostly ripped off UBB code. For example:
[b]bold[/b], [i]italics[/i]
Then we give the people using it an instruction sheet. Since [ and ]
don't require a sh
The easiest way I can think of would be to get a random number based on
the size of an array. If you're querying your database and filling an
array with all images, just use the database's random routine instead.
(I.E. "SELECT quote,author from randomQuote ORDER by RAND() LIMIT 1" in
mysql)
If t
I know this post is old by the list standards, so I don't know if you've
gotten help, check in your php.ini for these lines
; automatically add files before or after any PHP document
auto_prepend_file =
auto_append_file=
Does the auto_prepend_file line have something? If so check
Whoops.. do SELECT DISTINCT
-Justin
-Original Message-
From: "Jeff Lewis" <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 1:08 PM
To: King, Justin; [EMAIL PROTECTED]
Subject: Re: [PHP] PHP/mySQL Query
Yes but for the first query all I want to do is list the l
I'm assuming you're trying to join them and show resumeID also with this
SELECT r.resumeID,r.userID,u.location FROM resumes r,users u WHERE
r.userID=u.userID;
-Original Message-
From: "Jeff Lewis" <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 12:45 PM
To: [EMAIL PROTECTED]
Subject:
I'm trying to come up with a general solution for validating data in
forms as far as empty fields. I've considered doing javascript, but
would prefer to do the method where the page shows the previous form,
with notes near fields that need to be filled out properly.
My problem is I am trying to
I guess I'm kind of not understanding what you're trying to do. Besides
dynamically create an array.
I'd think what you're trying would work though
--Justin King, School District of Superior Web Coordinator
(www.superior.k12.wi.us)
-Original Message-
From: "Matthew Luchak" <[EMAIL PROT
Alright... here's my situation for those that didn't read my string of
messages yesterday.. (plus a bit more background information as to why
I'm doing this)
I'm writing an engine for a content managing system. Part of the system
is a menu builder. I use 2 tables, (this is a mysql database) me
I'm trying to get around having to do that, I don't know regular
expressions so it makes it difficult :(
-Justin
-Original Message-
From: "John Vanderbeck" <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 1:21 PM
To: King, Justin; [EMAIL PROTECTED]
Subject: R
I understand that, but that's what I'm trying to get around doing.
-Justin
-Original Message-
From: CC Zona <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 1:24 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Variable question
In article
<[EMAIL PROTECTED]>,
[E
D]>
Sent: Monday, May 07, 2001 1:13 PM
To: King, Justin; [EMAIL PROTECTED]
Subject: RE: [PHP] Variable question
ok, look into eval()
-Original Message-
From: King, Justin [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 4:07 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Variab
Here let me flesh this out a bit more
Consider the query "SELECT datafield FROM myTable WHERE id=1";
This would return "My username is $userdata["username"]";
I want to then output what the database returns, and have php evaluate
my variables.
-Justin
--
PHP General Mailing List (http://www
al Message-
From: "Jack Dempsey" <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 12:55 PM
To: King, Justin; [EMAIL PROTECTED]
Subject: RE: [PHP] Variable question
you can do it a couple ways...
echo "my user name is " . $user_data["username"];
or
echo "my u
How can I evaluate a variable in a string? For example if I have a
string defined as "my user name is $user_data["username"]", how do I
echo that string and have php evaluate $user_data["username"].
Thanks in advance..
-Justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
18 matches
Mail list logo