to ON and register_argc_argv ON as
well ... I'm not entirely sure what register_argc_argv does, but could this
be the problem?
At 09:41 PM 1/21/2003 +1100, Justin French wrote:
on 21/01/03 9:25 PM, Tim Thorburn ([EMAIL PROTECTED]) wrote:
There is some discussion as to whether my globals
Hi,
I've created a password protected area on the site I'm working on using PHP
Sessions - I've done this several times before without any
difficulty. This time, I've copied my old code - made the necessary
changes for login/passwd/database names, yet the sessions don't appear to
be working.
OFF
sendmail_from [EMAIL PROTECTED]
variables_order GPCS
Thanks
-Tim
them directly, however it's been several weeks since they've answered the
phones.
Does anyone have any other/better options that I should pursue? This will
be my first mass mailing typed job so I'm not really sure where to begin or
if I'm on the right path at all.
Thanks
-Tim
--
PHP General
you're not differentiating between form elements on different rows.
all the hidden elements have the same name and are in the same
form so only the last one will be available as all the submit buttons
are in the same form.
you need to put form ../form tags around each submit/hidden
pair.
Tim
surely you can post the part of the code that checks
the e-mail is blank or not?
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Mike Bowers [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 12:04 AM
Subject: [PHP] Weird Errors
print form ...;
printINPUT TYPE='submit' value='View details' Name='Details';
printinput type='hidden' name='SelectedItemNumber' value='{$row[Id]}';
print /form;
you'll then have as many forms as you have rows and which
one is submitted will depend on which button is pressed.
Tim Ward
http
use the date() function, in this case date(i) and date(h) or date(H)
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Pag [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 10:25 PM
Subject: [PHP] dumb time question
Ok
isset($_POST[chk1]) will only be true if the checkbox is checked.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: John-Erik Omland [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 09, 2003 6:25 PM
Subject: [PHP] checkboxes, radio
directly to disk.
Is there any settings for this?
Server info:
Cobalt RaQ 4
512 Mb RAM
Cobalt Linux release 6.0 (Shinkansen-Decaf)
apache 2.0.43
PHP 4.2.3
/Claes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Tim Meader
ODIN Unix
of syntaxes but none of them seem to work. Can
someone please shortcut whether it is possible or not and if yes, *how*?
Thanks in advance,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
('profile', 'r');
$binaryData = fread($f, filesize('profile'));
$data = unpack('a32id/[...etc]', $binaryData);
My problem is: which formats should I use for char vala:3, char valb:1
char valc:7 ? In other words: what should be on the spot of [...etc] ?
cvala/cvalb/cvalc doesn't work.
Thanks,
Tim
is: how can I get browser to cache image.php?id=1 (...
etc.) just as it caches image1.jpg (... etc.)?? The only thing I've thought
of is using mod_rewrite to rewrite URI's like image1.jpg into image.php?id=1
but I haven't tried it yet -- don't know if it's a logical idea.
Thanks in advance,
Tim
the line $p = createParent(); by
$p = new Parent(); -- this works perfectly fine! Conclusion: createParent()
does not return the object it creates!
Someone knows why this ain't working and how to solve it?!? Hope so, can't
wait to hear from you guys.
Thanks in advance,
Tim Molendijk
--
PHP General
nows why this ain't working and how to solve it?!? Hope so,
can't
wait to hear from you guys.
Thanks in advance,
Tim Molendijk
__
The NEW Netscape 7.0 browser is now available. Upgrade now!
http://channels.netscape.com/ns/
you could use a combination of the string functions
(strstr(), substr(), strpos()) or you could work out
something with regular expressions.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Mako Shark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
. Thats why you can get away with not using the
quote marks (as long as there's no white space in the string).
On a live site (and, I'd have thought, most default set-ups)
you'd expect error reporting to be set all off and you'd
never see the message.
Tim Ward
http://www.chessish.com
mailto:[EMAIL
mysql_insert_id().
5. insert the data into the other table(s) with this order_id().
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Ashley M. Kirchner [EMAIL PROTECTED]
To: PHP-General List [EMAIL PROTECTED]
Sent: Tuesday, December 17, 2002 8:15 PM
Subject
what do you mean by key pairs - I assumed you
meant a key that could link the records in each table.
If you've already done that then what's the problem?
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Ashley M. Kirchner [EMAIL PROTECTED]
To: Tim
looks ok as long as you are really testing what
you mean to. As you've written it if any of the variables
are an empty string, zero, logical false or not set then
the if statement will be true.
what is $auth?
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message
The best way would be to design the table so that it had an
item_id field that was an auto-incremented integer and not
updateable. It shouldn't be too late to add such a field, then it
can be passed from the form as a hidden field (as I assume
you're currently doing with $oldItemCode).
Tim Ward
you can always return an array of arrays ...
return array($array1, $array2, ...);
but in your case why not make the column names
the array keys so the one array holds both column
names and types.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Lisi
- I use an
abstraction layer these days
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Steve Jackson [EMAIL PROTECTED]
To: PHP General [EMAIL PROTECTED]
Sent: Tuesday, December 10, 2002 3:24 PM
Subject: [PHP] How do I populate a select?
How do I
how about something like...
$start = time();
$timeout = 60; // number of seconds to try
while (!$file = fopen(...) time() $start + $timeout);
if ($file)
{ // do stuff with file
}
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Phil Powell [EMAIL
store them in a session or cookie
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Stephen [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Sunday, December 08, 2002 8:10 PM
Subject: [PHP] Hiding URL Variable
How can you hide URL variables
I like arachnophilia.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: John W. Holmes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 07, 2002 4:11 PM
Subject: [PHP] Simple text editor for Windows?
I know the text editor question
everything you need is here
http://www.php.net/manual/en/ref.filesystem.php
in particular fopen(), fputs(), fwrite(), etc.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 1:25
not quite ...
if the form elements are (e.g) input name='array[0]' ..., etc.
then you need $_POST[array][0] to refer to the element
(just like any other array of arrays in PHP).
but you're right about count($_POST[array]) ...
and foreach ($_POST[array] as $key=$value), etc.
Tim Ward
http
only checked checkboxes are submitted therefore you have to number
the form fields if you want to keep the relationship between the arrays
- this should be easy enough if the form is generated by your code.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message
() in PHP 4.3.0 or
higher but then I still don't have a clue how to actually *do* it...
Is it even possible to read binary files created by C software and if so,
how to do this in practice - examples would be very welcome.
Thanks in advance,
Tim
--
PHP General Mailing List (http://www.php.net
you can't access $overall-foo because you've never defined it
you need:
function load($class){
eval(\$this-$class = new $class;);
return true;
}
Tim
-Original Message-
From: Tularis [mailto:[EMAIL PROTECTED]]
Sent: 17 November 2002 22
you've included the class definition at the top of every page, right?
and why don't you just use $_SESSION[cart] directly instead of using
$cart?
that way you don't have to worry about scoping issues and continually
passing $cart through to functions.
Tim
-Original Message-
From: Paul
until 5am working on this
site - it's slipped by caffeine powered brain.
Thanks
-Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ernest E Vogelsinger [EMAIL PROTECTED] wrote in message
news:5.1.1.6.2.20021108175627.00b44880;mail.vogelsinger.at...
This is clearly said in your PHP.ini file:
; Whether to enable the ability to force arguments to be passed by
reference
; at function call time. This method is deprecated
in advance.
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ernest E Vogelsinger [EMAIL PROTECTED] wrote in message
news:5.1.1.6.2.20021108092657.02befe20;mail.vogelsinger.at...
At 03:36 08.11.2002, Tim Molendijk said:
[snip]
Ahh - culprit 1:
You said the container is creating a child instance - I assume it's
Ernest E Vogelsinger [EMAIL PROTECTED] wrote in message
news:5.1.1.6.2.20021108165218.03238948;mail.vogelsinger.at...
One more:
True for now, but this is officially deprecated. Functions or methods
accepting a reference are required to be prototyped that way - this
helps
you not to forget to
Ernest E Vogelsinger [EMAIL PROTECTED] wrote in message
news:5.1.1.6.2.20021108170633.00b8cb60;mail.vogelsinger.at...
You might always simply omit the parameter when calling the function
(you'll get a notice about that if enabled). You just cannot pass
constants:
function Product($language)
someone can help me on this. I'm not a person who
asks for help very quick. I prefer finding it out myself, also because I'm
pretty experienced at PHP. But this is the first time I really can't figure
out what it is... I really NED you now :)
Good luck and a lot of thanks in advance,
Tim
additional information on this subject feel free to post!
Thanks everyone!
Tim.
Mike Mannakee [EMAIL PROTECTED] wrote in message
news:20021108044622.68446.qmail;pb1.pair.com...
This sounds like a matter that ought to make it to the programmers who
code
PHP itself. In the meantime can you code around
I am trying to use include statements, but am having no luck. I set the
include path in php.ini to include directories of the files, I tried CHMOD
777 on both files, and I restarted the server.
I can't get any include files working. I got this message:
Warning: Failed opening '/common.php' for
the best way to do password validation is using one way encryption (e.g.
MySQL PASSWORD() function). That way you check the encrypted user entered
password against the database ...
... WHERE pass = PASSWORD('{$_POST[password]}')
Tim Ward
www.chessish.com
-Original Message-
From: Mr
I have tried adding a weight category to my
products table and calculating total weight (then a simple if statement
would do the trick) but it leads to other problems which I couldn't
de-bug.
That sounds like the best idea to me, whats the big you had?
Tim
hehe I meant to say BUG ;)
That sounds like the best idea to me, whats the big you had?
Tim
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Custom Programming
Web Programming community discussion
http://www.inter-apps.com
- Original Message -
From: Steve Jackson [EMAIL PROTECTED
Is it better to use a c wrapper to do this? thats what Ive always done.
Which is more secure?
Tim
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Custom Programming
Web Programming community discussion
http://www.inter-apps.com
- Original Message -
From: Shane Wright [EMAIL PROTECTED]
To: [EMAIL
NOT work when assigning the object while it DOES
work when assigning a reference to the object.
Does anyone have a clue why this could be happening?? I'm _very_ curious coz
I simply don't get it. 8[
Greetz,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Are you trying to do this via a web-script?
Meaning, your php script is the server, and windows would be the client?
Or is your script uploading a file to another server?
Tim
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Custom Programming
Web Programming community discussion
http://www.inter-apps.com
name=submit
/form
?
}
?
--
best regards
tim
__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos More
http://faith.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What's the 'normal' way of storing array values in mysql table?
--
tim
__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos More
http://faith.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Arnaud Gonzales wrote:
for($i=0;$i=56;$i++){
should be
for($i=0;$i56;$i++){
to loop 56 times.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
does output buffering not work with command line PHP?
http://www.php.net/manual/en/ref.outcontrol.php
Tim Ward
www.chessish.com
-Original Message-
From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]]
Sent: 04 October 2002 05:59
To: [EMAIL PROTECTED]
Subject: No ouput until
I think you mean ++$hid, otherwise the value is inserted before it is
incremented,
and why not change to $_GET[hid] for future compatibility and just to make
sure.
Are there any scoping issues we don't know about, e.g. is this snippet
within a function?
Tim Ward
www.chessish.com
-Original
] = $myName;
echo($_SESSION[something-intelligent]);
I get Tim on my screen. But when I do:
$nr = 12;
$_SESSION[things][$nr][intelligent] = $myName;
echo $_SESSION[things][$nr][intelligent];
I don't get any output at all! Can anyone shed any light on this? Thanks in
advance!!
--
Kind regards
Hmm... subject wasn't what I wanted it to be :) Sorry about that.
--
Kind regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, if the memory hasn't been
freed you should still be able to get to it ... I think
Tim
www.chessish.com
-Original Message-
From: lallous [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2002 11:20
To: [EMAIL PROTECTED]
Subject: local resource variables
Hello,
I was wondering if i
use a hidden input in front of each checkbox with the same name and
the value '0' (as opposed to '1' for the checkbox).
Tim
www.chessish.com
-Original Message-
From: Tom Ray [mailto:[EMAIL PROTECTED]]
Sent: 24 September 2002 17:24
To: [EMAIL PROTECTED]
Subject: PHP Form and Arrays
for the ID field.
Tim
www.chessish.com
-Original Message-
From: Chuck PUP Payne [mailto:[EMAIL PROTECTED]]
Sent: 24 September 2002 02:45
To: PHP General
Subject: Maybe a stupid question but can it be done?
Ok, Let's try this again, for some reason this didn't post
from early
]}]');
if ($cust[status]) echo( checked);
echo();
...
echo(/tr);
}
and when processing
foreach($_POST[status] as $custid=status)
{ ... // update query for each customer
}
Tim
www.chessish.com
-Original Message-
From: Sascha Braun [mailto:[EMAIL PROTECTED
, however the file I am using has
graphics embedded in it.
Any ideas???
Thanks in advance,
Tim Nields
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that that
isn't always the case at first.
Tim
-Original Message-
From: David T-G [mailto:[EMAIL PROTECTED]]
Sent: 19 September 2002 17:13
To: PHP General list
Cc: Tim Ward
Subject: Re: redefining a function
Tim, et al --
...and then Tim Ward said...
%
% is using classes
then keep this info in a config file off root and
use a data abstraction class to connect.
Tim
www.chessish.com
-Original Message-
From: Oliver Witt [mailto:[EMAIL PROTECTED]]
Sent: 19 September 2002 19:15
To: [EMAIL PROTECTED]; Stephan Seidt
Subject: Re: PHP source code
Does anybody know of a class or a solution to converting an HTML page to a
text only page via PHP, but leaving in href links in and a certain degree of
formatting.
Cheers,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Tim Ward
www.chessish.com
-Original Message-
From: Wm [mailto:[EMAIL PROTECTED]]
Sent: 18 September 2002 23:25
To: [EMAIL PROTECTED]
Subject: How to approach a new project?
I'm trying to work out the best way to approach a new
project, and would
appreciate any
if your query is within a loop then it would probably help, e.g.
for ($i = 1; $i = 1000; $i++)
{ $result = mysql_query(...);
...
}
in this case as $result is a resource identifier then reusing
it doesn't release the original result.
Tim Ward
www.chessish.com
is using classes an option?
Tim Ward
www.chessish.com
-Original Message-
From: David T-G [mailto:[EMAIL PROTECTED]]
Sent: 19 September 2002 04:54
To: PHP General list
Subject: redefining a function
Hi, all --
Is there any way to redefine or undefine
Dear Marek,
Where do find that? I am no C programmer.
--
tim
--- Marek Kilimajer [EMAIL PROTECTED] wrote:
It's a shell script, and your shell drops root privileges. Use a shell
that doesn't or use a C-wraper.
tim tom wrote:
Dear Pete,
Yes, apache runs as nobody. But I have setuid
and passwd=n and it was ok)
What's wrong with those scripts. It DOESN'T even create the user timtom752002. Please
help
--
tim
__
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
--
PHP General Mailing List (http
Dear Pete,
Yes, apache runs as nobody. But I have setuid add.sh. Wouldn't that be sufficient ?
--
tim
--- Peter Houchin [EMAIL PROTECTED] wrote:
you need to make sure that the web has permission to use that file .. my
guess is it don't have permission hence why you can run add.sh from
the following:
php_value include_path .:/client/site/docs
Is there some little step that I've completely missed?
Thanks
-Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/ld.so.conf?
I can confirm that RH7 with GD-1.8 RPM and custom built PHP+GD-2.0.1 does
work. I normally install libgd in /usr/local and have /usr/local/lib as the
first entry in /etc/ld.so.conf (From memory, I think I did this to get
libgd working with PHP)
Tim
Ville Mattila wrote:
Hello everyone
Is there any easy way of creating,editing and deleting virtual hosts using
PHP via a website?? I have already thought of a way but seems a little long
winded.
Thanks in advance.
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you just name the form elements as array elements, e.g. with explicit keys
name='array[0]' name='array[1]' etc.
or allowing php to assign the keys
name='array[]' name='array[]' etc.
then the array is an element of $HTTP_POST_VARS[] when the form is posted
Tim Ward
you need to define the key for checkbox arrays in order to distinguish them
(as only the checked ones will be posted)..
something like ...
tdinput type=checkbox name=d_c_arr[?php echo($count++); ?]/td
Tim Ward
www.chessish.com
-Original Message-
From: Paul Maine [mailto:[EMAIL
of month and year (and,
incidentally, allow you to sort on year and month very easily).
Tim Ward
www.chessish.com
-Original Message-
From: sasha [mailto:[EMAIL PROTECTED]]
Sent: 19 August 2002 19:10
To: [EMAIL PROTECTED]
Subject: array_unique multi-dimensional arrays
I am trying
one instead of adding a new element.
Tim Ward
-Original Message-
From: sasha [mailto:[EMAIL PROTECTED]]
Sent: 20 August 2002 14:36
To: Tim Ward
Subject: Re: RE: array_unique multi-dimensional arrays
It may just have been that I was not putting your
sample code
why do you think the session isn't working? If there is a run time error in
'file' then an error would be reported and the output terminated. If you
have error reporting off then you would expect to get eactly what you see.
Sounds like a problem inside 'file'.
Tim Ward
St Ives
' is in the
array; but how do I then find out which index 'orange' is at?
--
Tim Fountain ([EMAIL PROTECTED])
http://www.tfountain.co.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
!
--
Kind regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yes but the variables are still held and would be available if you knew the
session id. until the garbage collection clears it out the session variables
are still there. the session doesn't die when the browser closes, just the
browser's reference to it.
Tim Ward
Please refer
by
explaining what I need to do to resolve these problems.
Many Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in findFotos() the defining of $limiet doesn't
work correctly? Why isn't a reference made to $this-limiet? I'm really at
a lost, here... Any help is appreciated!
--
Kind regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Alexandra Aguiar wrote:
may i use php with JAVA (note. not JAVASCRIPT , but JAVA APPLETS) !?!
Depends on what you want to achieve. As long as the final embed is
correct (i.e. the one that is sent to the client, after php-parsing), no
problem at all.
--
Kind regards,
Tim
--
PHP General
Alexander Ross wrote:
That first column is an auto_incrementing column so i don't want any data
INSERT INTO cast VALUES(DEFAULT, 'Rick', 'Blaine', 'Humphrey', 'Bogart',
'male');
I think you need to use NULL instead of DEFAULT... I'm not 100% sure. Just
try it :)
--
Kind regards,
Tim
for that, but I know for sure it's a part of the output from phpinfo()).
Connect to where And yes, line 236 is my mail line...
Connect to a SMTP-server, so it can send the mail :)
--
Kind regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
/html/foto/0/0/0/0/0001.jpg, /foto/0/0/0/0/0001.thumb.jpg, /
foto/0/0/0/0/0001.jpg, 200, 150, 500, 375, FALSE, Array)
Database error: You have an error in your SQL syntax near '
/var/www/html/foto/0/0/0/0/0001.thumb.jpg, /var/www/html/
foto/0/0/0/0/0001.j' at line 1
--
Kind regards,
Tim
--
PHP
Hi Jay,
Jay Blanchard wrote:
I believe the error is a space prior to 'var'
Brunssum, , / var/
try
Brunssum, , /var/
Nope, that wasn't the error, but the error was in there... it's the , ,
in there :) An empty value... Thanks for the quick reply!
--
Kind regards,
Tim
--
PHP
= readdir($dir)) {
if (($imgs != .) ($imgs != ..)) {
$cnt[count($imgs)] = $cnt;
is this typo in the original code? surely should be = $imgs;
} else {
print Cannot create array of files in directory!; }
}
closedir($dir);
}
Tim Ward
www.chessish.com
or ...
while($new = substr($old, $i++ * $strlen, $strlen)) $array[] = $new;
Tim Ward
www.chessish.com
-Original Message-
From: Richard Baskett [mailto:[EMAIL PROTECTED]]
Sent: 31 July 2002 20:47
To: Randy Johnson; PHP General
Subject: Re: [PHP] String Question
As I assume most of you know, mod_speling (sic) is a feature of the
Apache httpd that will suggest possible corrections to URLs.
i.e. if you look for /sidebar/ on my site you'll get a 404 because the
actual URL is /sidebars/
The problem is that some sites don't enable mod_speling and some
that?
Tim Ward
www.chessish.com
-Original Message-
From: César Aracena [mailto:[EMAIL PROTECTED]]
Sent: 29 July 2002 16:39
To: 'Martin Towell'; [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Table formatting -- PARTIALY SOLVED
Thnx a lot Martin and all, this worked. Anyway
Marcus Unlimited wrote:
So what is the absolute simplest and easiest path to open my .html pages
with some php mysql in em. and see them as they will work on the web???
To quote a friend of mine: The only way to see how this will work is to
see how this will work.
Get some server space
Marcus Unlimited wrote:
What is the easiest way to test locally (on my desktop) without having to
upload?
If you follow the route that several folks suggest and go with one of
the 'install everything' routes, be sure to install the same versions
... for example, some of them install older
($matches[1]);
}
Of course, if test occurs more than once then the above won't
work, since regex's are greedy...
If you add a ? after the * then that'll make it non-greedy won't it?
--
Tim Fountain ([EMAIL PROTECTED])
http://www.tfountain.co.uk/
--
PHP General Mailing List (http
on the side of the pond :P
Thanks
-Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
= @mysql_connect('blah','blah','blah') or
some_error_function();
or I guess you could also do:
$result = @mysql_connect('blah','blah','blah');
if (!$result)
{
$error_array[] = mysql_error();
...
}
--
Tim Fountain ([EMAIL PROTECTED])
http://www.tfountain.co.uk/
--
PHP General Mailing List (http
to the page they're login gives them access to.
I've tried using header(), but since the redirection takes place about
mid-script, it doesn't work. I've also tried using meta tag redirects,
but those don't seem to accept the PHP/MySQL combo.
Any ideas?
Thanks
-Tim
--
PHP General Mailing List (http
FWIW, a user note at http://www.php.net/manual/en/function.header.php
says :
There is this nasty bug in IE 5 for Windows prior to service pack 2,
described in Microsoft knowledgebase article Q281197 which causes a
problem with redirecting.. if you submit a POST form to a page that
uses
JJ Harrison wrote:
Does anyone know a good PHP-based Formmail Replacement(From matt's script
archive)?
http://www.google.com/search?q=Formmail+php gave
http://www.lumbroso.com/scripts/formmail.php as one of the top results
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
César Aracena wrote:
I think that the best way you can achieve this, considering all the
troubles and different configurations you will have to make for each
user, is to make them choose the type of connection they want, and set a
cookie in the visitor's browser with a one year life time
601 - 700 of 1075 matches
Mail list logo