think it's because the '=$blah' syntax relies on short tags ? ... ?...
and short tags can upset XML parsers... as a result short tags aren't
supported by all hosting providers so your code could break if ported
to another site...
Cheers
Rich
--
PHP General Mailing List (http://www.php.net
server. It can be outside the document root though if it bothers
you...
HTH
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are u;
?
please help,
diksha.
Can you post the form code?
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the permissions on the 3rd target
directory to check if it allows writes by the web server process. Are all 3
files going into the same directory? Is the server *nix or Windows?
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that is echoed after the copy is the one that pops
up. So, it
could be some other problem, but I'm not sure what to look for.
Take out the @ sign so you can see what the PHP error message is.
---John Holmes...
Try using move_uploaded_file() as well...
Rich
--
PHP General Mailing
this - SELECT a.area_name as area_a, b.area_name as area_b FROM tbl_1
x, tbl_2 a, tbl_2 b
Then you can refer to the columns as $array['area_a'] and $array['area_b']
HTH
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Use a 404 handler to build static html pages from the database. To refresh
the content just delete the static content - this could be done
automatically at predetermined intervals using cron or similar.
FFT
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
- what
exactly are you expecting $contents to be set to?
. Does your user or web server process have the permissions to create files
in the directory?
. What does readfile('sandrew.html'); after your fclose($fp) return?
HTH
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
('/^./','',$string,1);
wich results in slideimages[0]slideimages[1]slideimages[2]
Can somebody help me out here??
thnx
Thijs
$string = substr($string,1);
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$mydate = 20030328231154;
$myPrintDate=date (l dS of F Y h:i:s A,$mydate);
echo $myPrintDate;
Whats wrong
$mydate should be a unix style timestamp not a MMDDHHMMSS type
date/time format...
Check the functions time() and mktime() to help you generate unix
timestamps.
HTH
Rich
thanks.
Scott
Hi Scott
I believe this is a problem because of the relatively old TDS libraries used
by native access methods...
Possible workarounds are...
. cast the data to TEXT before returning it
. use ODBC which doesn't have this problem IIRC
HTH
Rich
--
PHP General Mailing List (http
Hi
Some suggestions below...
Cheers
Rich
This is a trivial question - what function can I use to automatically
proceed to some link, one that can be executed without any user input.
header('Location: http://www.newurl.blah')
How can we, most efficiently, send all the data (variables) from one
related calls were made.
HTH
Rich
-Original Message-
From: empty [mailto:[EMAIL PROTECTED]]
Sent: 22 November 2002 14:22
To: [EMAIL PROTECTED]
Subject: [PHP] session trouble
hi guys ;
I can't use session bla..as on my site.
PHP Code
?php
session_register();
if(isset($username) isset($pass
can remove them by using stripslashes() or switch off
magic quotes in your php.ini file. But I would repeat *don't* continue down
the path you are going unless you like being hacked!
HTH
Rich
-Original Message-
From: Ken Nagorski [mailto:[EMAIL PROTECTED]]
Sent: 23 November 2002 11:52
Try the system() or passthru() functions...
Rich
-Original Message-
From: Paul Marinas [mailto:[EMAIL PROTECTED]]
Sent: 23 November 2002 13:09
To: Rich Gray
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] using cookies
dose anyone how to send a ping in local network
thanks
Is your register_globals setting set to Off? This is the default setting in
v4.2.x upwards.
Rich
-Original Message-
From: Craig Edgmon [mailto:[EMAIL PROTECTED]]
Sent: 23 November 2002 11:43
To: [EMAIL PROTECTED]
Subject: [PHP] Passing Variables
I am sure this question has been answered
Answer is No. 2)
Use cron to run the mysqldump utility instead of a php script.
Let me know if you need more info.
Cheers
Rich
-Original Message-
From: See Kok Boon [mailto:[EMAIL PROTECTED]]
Sent: 23 November 2002 07:35
To: PHP
Subject: [PHP] getting mysql dump using php
hi,
can
) )
Not Uploaded
The copy() function works in that the temp file is copied to c:\test.jpg.
So why is is_uploaded_file() returning false?
TIA
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Don't bother to respond people... worked out the issue - the double
backslashes in the name...
Cheers
Rich
-Original Message-
From: Rich Gray [mailto:[EMAIL PROTECTED]]
Sent: 26 November 2002 21:14
To: [EMAIL PROTECTED]
Subject: [PHP] File upload on Win2k ...
PHP v4.2.3
Win2K Sp2
Apache
Stephane
http://www.php.net/manual/en/security.registerglobals.php
http://www.php.net/manual/en/faq.php
Substitute 'fr' for 'en' if your prefer it en francais
Use: $_GET['id'] or $_REQUEST['id']
Ciao
Rich
-Original Message-
From: Stéphane Génin [mailto:[EMAIL PROTECTED]]
Sent: 27
Er yea - just call the mail() function at the appropriate time in your
script...
http://www.php.net/manual/en/function.mail.php
However IMO if you need to log this sort of information then using a
database is far more appropriate than sending emails - especially on a busy
site...
Rich
time or
delete/tamper with cookies so don't make your code reliant on the stuff
stored in them...
In effect it is up to you what you save and process from persistent
cookies...
HTH
Rich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm not worried about them using the query string for malicious
Jason
session.cookie_lifetime set to 0 means the session cookie persists until the
client browser is closed...
I'm not clear if you are still having session problems now or the advice you
got earlier sorted it?
Rich
-Original Message-
From: Jason Romero [mailto:[EMAIL PROTECTED]]
Sent
Hi James
There is a bug in PHP for the capitalisation problem
http://bugs.php.net/bug.php?id=14655
If you check the link then a workaround was posted by someone.
HTH
Rich
-Original Message-
From: James Coates [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:11
To: [EMAIL PROTECTED
Can someone point me to documentation on the operator? I am wondering if
there are some quirks I don't know about. Yet I can't find it documented on
the php website.
THanks,
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
}
...
This reloads the popup window, and then I have a close button to close the
popup. Then I have to refresh the browser window manually to see the updated
table from the database. Can I get some advice on how to accomplish (1) and
(2) above?
Many thanks,
Rich
--
PHP General Mailing List (http://www.php.net
.
Marek Kilimajer wrote
Output from action.php:
script
opener.location.reload();
close();
/script
Rich Fox wrote:
Warning for server side purists: My php scripts use javascript to popup
and
close windows. So this question, although posted to a php newsgroup, has
elements of javascript too
);
$anr = mssql_num_rows($res1);
...
}
This does NOT work! It seems that the 2nd query steps on the results of the
first one! Can someone verify this effect? I am 99.999% sure this is what's
happening. Who is the bonehead responsible for not implementing this for MS
SQL Server?
Thanks
Rich
script and the browser just shows me a blank page. Is this because I am
running php as a CGI module?
Thanks,
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yeah, that did it, thanks
David Otton [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Fri, 17 Oct 2003 11:29:41 -0400, you wrote:
I hope this question is not too stupid! When I have an error in my
script,
it seems to me that the web server, or in my case the php CGI module I am
But *why* does logic.php need html.php?
There is no recursion issue, or endless nesting of includes, because
html.php refers to logic.php as an action for a form... this does not
include the logic.php code into the html.php page.
Rich
Karina S [EMAIL PROTECTED] wrote in message
news:[EMAIL
incurring a
page reload ... well it is definitely possible using javascript remote
scripting techniques and a hidden iframe however if the browser has
javascript switched off then this won't work of course...
Cheers
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
at the
moment) setting in your my.ini file...
HTH
Cheers
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
my_int_column = my_int_column + 1 where blah blah ...');
HTH
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the manual)
. use move_uploaded_file(...) rather than copy(...)
HTH
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Notice: Undefined index: user_id in
/home/pance/public_html/menu.php on line
13
Has anybody else come accross this problem - and how did you solve it?
Pance Stojkovski
are you using session_start() at start of each page that manipulates
$_SESSION ?
rich
--
PHP General Mailing List (http
- send a request to
that socket from your web page...
. IPC through shared memory...
. probably loads more...
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
document.write() which will be ignored by disabled clients and then use
noscript/noscript tags to enclose whatever stuff is necessary for the
disabled clients?
Just a thought
Cheers
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
...
4.2.3
Array ( [0] = Zero [1] = One [2] = Two )
and on my development server...
4.3.8
Array ( [1] = One [2] = Two [0] = Zero )
hth
rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can't you sort the array?
Yes of course but that wasn't the point of my post I was trying to
show that the same code produces differing results on 2 different
versions of PHP ...
rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the application running again?
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not found error,
or how to capture output from debug_print_backtrace.
Thanks,
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as I try to invoke the application and transferring control
to the error handler?
There has to be something either in the index.php, or a function it's
calling, that cannot find the opening display. I need to learn what's
happening so I can get this application running here.
Rich
--
PHP General
101 - 143 of 143 matches
Mail list logo