the whole thing at once, so I dare say you're
being sent a stream of encoded data rather than one big gzip file. I
might be wrong, but it makes sense if it does work like this. Perhaps
someone else can confirm.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
-
-populate the old session when moving
back and forth. Hardly a tidy solution but I couldn't think of another
way at the time (and still can't).
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ags() to clean it up.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s
";
etc.. you get the idea.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e to keep
J> our mail list clean.
Set the reply-to address to come back at a script that parses out that
sort of information.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
). You're probably still using ', this won't allow
variables inside it to be parsed.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
knew?
Yup it does indeed - see my reply to your previous message saying just
this :)
In my original reply to you I had swapped the single quote for a
double for you, but it's easy to miss I guess. Glad you got it sorted.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.ht
r time looking there I would check to see if you don't have it
in a site back-up or something.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o you need to be prepared for this eventuality also.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
mysql_query will return FALSE if the query is invalid.
If the query is perfectly valid SQL, but just doesn't return
anything, then you need to use mysql_num_rows() instead - if this is
equal to nothing then nothing was returned.
--
Best regards,
Richard Davey
http://www.phpcommunity.or
clean exit if an
error occurs.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
an "@example.com"Thanks
Use strpos() to locate the character (or string) you want and substr()
it. Something like:
$search = "@";
$email = "[EMAIL PROTECTED]";
$user = substr($email, 0, strpos($search));
--
Best regards,
Richard Davey
http://www.phpcommunity.org
ll option enabled. See the preferences to turn the yellow
background off.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t query from table order by id desc
Why waste time running another query? Get the value from
mysql_insert_id() instead.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the file to a temp location before uploading it
again.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the following (combined they'll give you the full
address):
$_SERVER['HTTP_HOST'];
$_SERVER['REQUEST_URI'];
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
undefined is $i. But $i is defined is
JP> the for statement above it.
$i should be in single-quotes, although it isn't the cause of the
error. Your var (inputs) isn't defined in your class.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General
over) in
which case you cannot ever assume they will have magic quotes on so do
some checks first to find out (there are PHP functions to do this).
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t fails by sending an http header of 0 bytes in size. It's not
just the post form data that is lost, everything is. So trap that and
you should, theoretically, with a little browser detection mojo be
able to at least error gracefully.
--
Best regards,
Richard Davey
http://www.phpcommunit
re are no errors, it won't need
to do this. It will be pretty hard to find a script lengthy enough to
give this a solid bench test, but I would honestly be amazed if B
outperformed A.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
will not propagate (unless
you make them).
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nt even exists
or not before checking to see what it equals.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nting vent I'm going to get another one of
the above.
Ack!
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[seqnum] => 2
DC> [roomdesc] => Standard
DC> )
See the array_multisort() function.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ists before checking
the value, regardless.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Ryan,
Tuesday, March 2, 2004, 2:35:23 PM, you wrote:
RA> Also anybody else getting from AirAndHotel.com?
Yes, AirAndHotel.com are a pain in the ass too. I don't think *anyone*
is in charge of this list. It just runs...
--
Best regards,
Richard Davey
http://www.phpcommunity.
in 'insert path here' on line 6
A> Does anyone have any suggestions as to what is different or could
A> be causing this problem? I have looked through the php.ini files
A> and cannot determine anything that could cause this.
What's line 6? I'll wager you
tered to
ensure they are numbers and error out if not.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;ll be happy to rtfm if someone can tell me the function name I
need.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
se to iterate through a $_POST array, it should
work for you too:
If an element of $_POST is an array this won't work, you would need
to do something like:
array_walk($_POST['array_name'], 'strip')
for that particular array instead.
--
Best regards,
Richard Davey
ht
tor will NEVER see this - it happens "behind" the scenes so
you can walk around your sites cleaning up the cookies as you need and
finally dumping the user back onto a friendly logged-out page.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to me, I would have thought it should be:
$val_matrix[$i][$k]= OCIResult($stmt, "$column_array");
I can't see why you need the fullstops (periods). The above will work
IF $column_array = COLUMN_NAME as required.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/
);
Use this instead of a reg exp for such a simple task, it's quicker and
will cope with the whole array in one command.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ot; files. If you know this all already, sorry!
:)
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Todd,
Thursday, March 4, 2004, 6:52:33 PM, you wrote:
TC> How can I execute "window.close()" with php?
You can't, PHP is a server side language. You can echo out the above
JS using PHP, but you can't "force" it to happen.
--
Best regards,
Richard Davey
ange what it can be called, but I'm no
Apache admin so I couldn't tell you how. I dare say it might be a
httpd.conf setting somewhere.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eid=navclient&ie=UTF-8&oe=UTF-8&q=htaccess+tutorial
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
has.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as any other field.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
unning as "mike" and Apache owns the file the
browser is uploading.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Your included file will already be able to see anything defined in the
global scope (i.e. before it was included) without you doing a thing.
Read the manual re: the include function (and probably variable scope
while you're at it).
--
Best regards,
Richard Davey
http://www.phpcommuni
ns differently.
You should find that doing a GROUP BY and then ORDER BY on the Topic field gives you
the
results back in the right sequence for what you want. Your display
life in PHP will then be much simpler.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP G
to a session or some way of passing that array?
Question - why on earth do these email addresses need to be placed
into a FORM anyway? If all you are doing is emailing them from within
PHP.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (htt
s they build?
Hopefully I misunderstood what you meant here because it's not
sounding too appealing yet.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
et, but
things are progressing well.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e(0, 0, 0, $loop3_this_month, $loop3_this_day,
S> $loop3_this_year));
?>>
I changed the date to show a little more detail (date("D M d Y") and
it output: Sat Mar 27 2004 for me, which is exactly what it should.
Suggest you start looking for something specific to your
server/
the exact same thing.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
date("D M d Y", gmmktime(0, 0, 0, 3, 28, 2004, 1));
Will give me Sun Mar 28 2004, because its a GMT date falling into BST.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
04/2.jpg
graphics/2004/3.jpg
(etc)
1 = January, 2 = February, you get the idea.
Then to display the correct one on your site all you would need is:
";
?>
Or from within your HTML:
.jpg">
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP Gener
Hello csko,
Friday, March 5, 2004, 4:02:07 PM, you wrote:
c> Is there a function to convert a ASCII char to decimal or binary?
Decimal = ord($str)
Binary = decbin(ord($str))
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (h
e 2nd (internal) where loop has finished
modifying it. Move $variable = 100 above the first where loop and see
what happens.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
Run your query directly in MSSQL and you'll see what gets returned.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;phishing" error. There are no solutions. Have
a dig around in the mailing list archives for links to various sites
that give more details about it.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To uns
the problem - there is
nothing you can do to fix it. You could however error trap it (i.e.
check that the POST data is entirely empty) and prompt them to update
IE? But that depends on your audience I guess (some people just won't
know how/be able to).
--
Best regards,
Richard Davey
http://www.
of results:
dirname()
pathinfo()
realpath()
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
JW> helps.
http://support.microsoft.com/default.aspx?kbid=831167
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y of things.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello test,
Tuesday, March 9, 2004, 2:22:08 PM, you wrote:
t> why is var_dump( 0 == 'hello world') TRUE and not FALSE?
The same reason: intval('hello world') will equal 0.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP Gen
tatement and the closest thing
AH> to that in mssql is either TOP n, or SET ROWCOUNT which does me no good.
This should help:
http://rosca.net/writing/articles/serverside_paging.asp
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://w
ess the
EC> archive site to find it.
http://support.microsoft.com/default.aspx?kbid=831167
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
problem is that i am using cookies on the script with the
T> setcookie() function. It looks like the cookies aren't getting
T> created or anything. anyone have any ideas? Thanks
Do they still have the old URL or an invalid path in them? Post the
setcookie part of the code.
e (without their knowledge) each time they come back to the site.
Anyway, onto the meat of your question - give the cookie an expiry
date well into the future so it persists until the visitor returns.
Look at the help file for details on the attributes you need for
setcookie.
--
Best regards,
round the PHP tags or within the script itself.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
using the
Does it happen to ANY user or is there a pattern in the nature of
this? Could it be the current IE bug with blank POST data causing the
session to be wiped?
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To un
issue a cookie of your own that keeps track and
re-builds the session when they return.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
no tangible
benefit whatsoever.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cessive build up of session data
files on your server, depending on the popularity of your site.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in your code.
You could swap the 1 and the 0 to have the reverse effect - i.e. if
it's turned off, enable it and then don't have "addslashes" anywhere.
I see no reason why either method won't be as portable as the other so
long as you are consistent.
--
Best regards,
R
ichard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> program (this is not spam), and I don't want to be targeted as spam.
Time for sleep()
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ubed.com isn't too bad at all.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ass those values on the query string.
What situation do you have that makes you ask this question? Perhaps
with a little more detail we can explain further?
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Hello Harry,
Wednesday, March 10, 2004, 12:55:44 PM, you wrote:
$this->>styles['shadow'] = (boolean)$bool;
HW> what does "(boolean)$bool" mean?
It's casting the value ($bool) to a boolean (i.e. TRUE or FALSE).
--
Best regards,
Richard Davey
http://www.phpco
data = mysql_fetch_assoc($result);
print_r($data);
}
$data will now be an array holding the first set of information. The
print_r line just displays it so you can see it easily.
Instead of a FOR loop you could do a "while" loop checking to see the
end of the $result set, i.e.:
whil
Hello Alistair,
Wednesday, March 10, 2004, 11:26:53 PM, you wrote:
AH> I get this error: mysql_num_rows(): supplied argument is not a valid
AH> MySQL result resource
Then your database connection failed OR the SQL query did. Check those
steps over before anything else.
Maybe post that part of y
ORDER BY style";
AH> $result = mysql_query($sql);
AH> $total_records = mysql_num_rows($result);
Try and put single quotes around the $type in your query. Especially
if it's not numeric:
$sql = "SELECT blah WHERE type='$type'";
Otherwise, the
remove from it, add to it, etc.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ly way I've found around this is to use a CGI
compiled version of PHP (instead of an Apache Module) specifically for
when uploading and run the CGI version as my user:group. Also if you
host with Pair Networks they offer a PHPWRAP function which,
effectively, does this for you.
--
Best regards
he variables, and other times it goes through on the
TS> first try.
Sounds like the IE POST bug to me:
http://support.microsoft.com/default.aspx?kbid=831167
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
or "key"...or is that a
RA> typo?
It creates a variable variable :)
A variable variable takes the value of a variable and treats that as the name of a
variable.
See Chapter 7 (Variables) of the PHP manual.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296
(idiotic subscribers with
autoresponders, virus mails, attachments, inane questions that
blatantly haven't even tried looking at the manual, etc etc etc).
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s in PHP5 :)
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ing to user a blank user,
P> Any Ideas?
You said that you use "apache" as the username for MySQL - is this
something you've configured yourself? If not, it should be "root" and
the password should be blank unless you have also set that? In which
case it's missing f
purposes, there is no harm in it.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello trlists,
Friday, March 12, 2004, 6:48:03 PM, you wrote:
tcc> Agreed, as long as he's not connected so someone can try to connect to
tcc> the MySQL port.
If he's connected that long and not running a firewall, he deserves it
;)
--
Best regards,
Richard Davey
http://www.
.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on't just remove the "user" and "password" parts, fill them in.
If there is no password, put "".
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
12 = JB2 and 13 = SWC.
JPX and JB2 are JPEG-2000 File Formats. Not sure about SWC, but JPC is
a Jpeg2000 CodeStream.
You can download the excellent FREE XnView from www.xnview.com which
will load (and save) JPX and JB2 files (as well as hundreds of other
formats).
--
Best regards,
Rich
Hello Norbert,
Saturday, March 13, 2004, 3:13:10 PM, you wrote:
NP> I'm sorry - bad reply ... :-(
NP> Hi Richard,
NP> unfortunately you err.
NP> I use already XnView.
NP> This program does not support the looked for formats.
Yes, it does. Look harder.
--
Best regards,
. No errors at all. This is XnView 1.68.1
on Windows XP.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
normal?
Yes because @ suppresses the errors on function calls, not variables
(which is all $_GET['this'] is).
It's like saying @$this - i.e. as you can see, it doesn't make sense.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP Gen
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Mario,
Monday, March 15, 2004, 11:40:45 AM, you wrote:
MO> Can someone recommend me a good/stable PHP-FTP Web client?
MO> I wasnt quite happy with the google search results :P
Search hotscripts.com or Freshmeat.net
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wi
om
It will do EXACTLY what you need.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the 's and the directory
BJC> returns an error. Is there a way around this?
This works fine for me on a Windows XP box:
how are you building the directory name? Or did you mean some other
"special" characters?
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wi
hassle will be to define a global
variable/constant called something like $basedir and set that.
$basedir = "/var/www/html";
Now just use this in all your include lines:
include "$basedir/lib/lib_main.php";
This will work from *anywhere* and not fail.
--
Best regards,
Richard Da
Hello Mike,
Monday, March 15, 2004, 6:15:04 PM, you wrote:
MM> Is it possible in php.ini declare $basedir(for libraries)?
Not exactly, but you can add a path to the include path list which
should have the same end result.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/
already have
those then I don't see how that expertrating thing can hurt, but don't
bank on it holding too much sway.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ng... any
LM> ideas?
If you are running PHP as an Apache module (and not CGI) then a
correctly validated user will have their details in:
$_SERVER['PHP_AUTH_USER']
and
$_SERVER['PHP_AUTH_PW']
There is a whole chapter on this (16) in the manual.
--
Best regards,
Richard Dave
601 - 700 of 1061 matches
Mail list logo