http://www.php.net/reserved.variables
use $_SERVER['PHP_SELF'] or $_SERVER['REQUEST_URI']
just parse its value to get what you needed.
hth,
John
On 5/17/07, CK <[EMAIL PROTECTED]> wrote:
Hi All,
The following code works just fine for outputting links from an
array. The next goal, is parsin
to be passed but you need to pass your page
using POST.(like i said be careful and not over use because of lazyness)
(i hope i'm being clear)
On 2/14/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Mon, February 12, 2007 8:41 pm, J R wrote:
> it is not adviced to do filtering on
here's my opinion on the matter.
it is not adviced to do filtering on _REQUEST getting data in general from
it actually. It is much better to specify where your data is coming from (
e.g. _POST or _GET). This is because variable _REQUST contains all the data
from the cookies, get and post. and if
if you want a very lightweight use notepad2[1]
i use php eclipse though :)
[1] http://www.flos-freeware.ch/notepad2.html
On 2/8/07, Ryan Fielding <[EMAIL PROTECTED]> wrote:
Stephen wrote:
> I am finding that notepad is lacking when correcting syntax errors in my
php code. No line numbers.
>
>
using "click me
in your php you can get its value by use of the $_GET variable.
hth,
john
On 11/13/06, Thomas Bonham <[EMAIL PROTECTED]> wrote:
Thank you for that, it was a big help.
Can I also call function that way?
Again thank you for your help.
Thomas
Tom Chubb wrote:
> On 12/11/06, T
http://www.php.net/manual/en/function.strtotime.php
http://www.php.net/manual/en/function.date.php
On 10/16/06, Ron Piggott (PHP) <[EMAIL PROTECTED]> wrote:
Is there a way I am able to use the DATE command to convert January to
1, February to 2, etc.
--
GMail Rocks!!!
echo ' Test ';
On 10/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Dear All,
How to apply the following function with php ?
Test
Edward.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
GMail Rocks!!!
if i get you right. your email to hotmail goes to junk/spam mail?
i think i encounter this way way back when our email domain got listed into
spam emailer :D
so better check if your domain is on that list. i forgot what was the URL.
anyway just an idea.
hth,
John
On 10/2/06, Stefan van der L
run this bit of code to check if everything is working.
On 10/2/06, Stut <[EMAIL PROTECTED]> wrote:
srdaniel wrote:
> I setup Apache 2.2.3.0 and PHP 5.1.6.6.
>
> When I run this PHP file:
>
>
>
>
> PHP Test
>
>
> Hello World'; ?>
>
>
>
>
> Any id
use session. or you can store it in a database but that will take speed. :)
using session is much better rather than using cookies for lots of reason
(just google) specially if you are concered with security.
just my 2cents.
hth,
john
p.s.
if the client cookies is disabled set to true the ses
i'm just going to guess. check your settings if it allows to open external
files, especifically allowed to fopen url.
http://www.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen
hth,
john
On 9/13/06, R B <[EMAIL PROTECTED]> wrote:
I think it's a security https problem.
I was reading
correction: $GLOBALS not $_GLOBAL
:)
cheers
On 9/12/06, J R <[EMAIL PROTECTED]> wrote:
there are many ways you can keep information.
now if you must really use global. you can still use global even if the
server is set to global off by using $_GLOBAL or using globals decleration.
e
there are many ways you can keep information.
now if you must really use global. you can still use global even if the
server is set to global off by using $_GLOBAL or using globals decleration.
example:
$test = 'i'm global';
function f1()
{
echo $_GLOBAL['test']; // should display i'm global
On 9/6/06, Gustav Wiberg <[EMAIL PROTECTED]> wrote:
I want to save this to a string...
var uri = 'http://impse.tradedoubler.com/imp/img/16352388/1122503?' + new
String (Math.random()).substring (2, 11);
docume
you have to understand that the adduser is a previledge command and a root
only command (unless you allowed other users) and normally php will and
should be running in a restricted access. normally it is running as user
apache/user/nobody (depends on your settings) now there are two ways you can
a
put this at the top of your script "ob_start();" or before any output.
On 8/31/06, Shu Hung (Koala) <[EMAIL PROTECTED]> wrote:
On 8/31/06, Peter Lauri <[EMAIL PROTECTED]> wrote:
>
> Koala,
>
> There is no difference with the php generated javascript and javascript
on
> a
> static html page.
>
>
http://www.php.net/manual/en/reference.pcre.pattern.syntax.php
On 8/22/06, Alex Turner <[EMAIL PROTECTED]> wrote:
If what you mean is a db table, then it would seem to me that you should
not be using a regex. PHP has rawurlencode() for this sort of thing.
But - you should learn regex ;-)
Try
On 8/15/06, João Cândido de Souza Neto <[EMAIL PROTECTED]> wrote:
I´m in the follow location:
https://www2.../?modulo=seguro&acao=identifica
And in my script i use header("Location:
./?modulo=seguro&acao=novo_cadastro")
i normally do
header("Location: ?modulo=seguro&acao=novo_cadastro"
n 8/10/06, Chris <[EMAIL PROTECTED]> wrote:
Chris wrote:
> Chris wrote:
>> J R wrote:
>>> try to use this few lines of code.
>>>
>>> function stripMagicQuotes(&$var)
>>> {
>>>if (get_magic_quotes_gpc()) {
>>>$va
try to use this few lines of code.
function stripMagicQuotes(&$var)
{
if (get_magic_quotes_gpc()) {
$var= stripslashes($var);
}
return $var;
}
this way you don't really have to worry if magic quotes is on or off.
**
On 8/10/06, Chris <[EMAIL PROTECTED]> wrote:
[EMAIL PROTE
20 matches
Mail list logo