file_get_contents("http://www.yoursite.com/script.php";);
using http:// causes it to get the html source.
"Hannes Magnusson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> http://www.php.net/manual/en/ref.outcontrol.php
>
> On Mon, 16 Aug 2004 10:35:42 -0400
> [EMAIL PROTECTED] (Dou
Hmm,
Simply make a RSS feed or something, md5 the last changed date of all files
combined every say 30 mins and put that in the rss file, have the systray
icon program look at that file every 5 mins or so, if the file has changed,
flash..
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMA
If I try to base64_decode an image which was encoded with base64_encode on a
blank page, it works, if I try on a page with stuff already on it, it just
shows me the source code to the image...
Example: Run this code as a blank page, no spaces before or after the
PS: phpBB2 somehow got it to wor
Glad to hear turning reg globals off made it work :-)
I had suspected that because people often use the same variables for
different things and with globals on, well it can overwrite other vars.
"Josh Acecool M" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Try adding
if (!function_exists("function_name")) {
function function_name ($blah) {
// Function Code
}
}
for each function.
That will fix the redeclare problem which happens if you call your cards.php
file in more than 1 file..
"Andre Dubuc" <[EMAIL PROTECTED]> wrote in message
n
MAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Josh,
>
> Aside from the differences in php versions, the only difference is thta
the
> local version has register_globals=off.
>
> I'm really stumped.
>
> Andre
>
> On Sunday 08 August 2004 06:07 am, J
You could make a few randomly named images (more = better security but wont
be very secure since the names can be put in a spam bot...) make them show
up, each name has a specific number etc...
"Eugene Voznesensky" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How to generate and ch
Did you check the phpinfo on each server, make sure your server settings are
same as local?
"Andre Dubuc" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I have re-written a very basic website to use sessions (switching to
https)
> for login to special areas of a site. After
I've requested that you do not contact me again.
http://www.acecoolco.com/legal.php
Please read the E-mail section properly.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 06, 2004 3:10 AM
Subject: IMPORTANT: Please Verify Your Message
>
>
Stop E-Mailing me.
http://www.acecoolco.com/legal.php
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 06, 2004 2:10 AM
Subject: IMPORTANT: Please Verify Your Message
>
>
>
>
> Verify Email
>
>
>
>
> Hello [EMAIL PROTECTED] ,
>
> [EMAIL P
I dont have magic_quotes etc on, so when I use file_get_contents the EXACT,
yes, EXACT file gets placed.
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Josh Acecool M:
> > You dont understan..
>
> Not anymore. Honestly I ha
ews:[EMAIL PROTECTED]
> * Thus wrote Josh Acecool M:
> >
> > but, I am doing this.
> >
> > $text = file_get_contents('templateFile.php');
> > $text = preg_replace('/something/', file_get_contents("something.php"),
> > $text);
>
_get_contents('templateFile.php');
$text = preg_replace('/something/', file_get_contents("something.php"),
$text);
eval("?>" . $text . " wrote in message
news:[EMAIL PROTECTED]
> On Thu, 5 Aug 2004 21:42:58 -0700, Josh Acecool M
> <[EMAIL PROT
5.0.0
Include WORKS, but using INCLUDE with PREG_REPLACE does NOT work, the text
you want to replace gets deleted and the INCLUDE includes on the top of the
page...
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Thu, 5 Aug 2004 09:51:10 -0
from
the included file wont get parsed or anything, and the variables set to it
by the first file, or the class dont work at all.
"John Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Josh Acecool M wrote:
> >>> var $The_Template_Sys;
> &
Any ideas?
"John Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Josh Acecool M wrote:
> > var $The_Template_Sys;
> >
> > $this -> The_Template_Sys = file_get_contents("$The_Template_File");
> >
> > $this -&g
Another note:
I code for globals off.
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tue, 3 Aug 2004 12:11:02 -0700, Josh Acecool M
> <[EMAIL PROTECTED]> wrote:
> > It has a preg_match in there that looks for \$variable = bla
supposed to me.)
And using buffer is 8x slower than eval.
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tue, 3 Aug 2004 12:11:02 -0700, Josh Acecool M
> <[EMAIL PROTECTED]> wrote:
> > It has a preg_match in there that looks for
Also, variables do not get passed correctly from the engine to the evaluated
pages.
"Josh Acecool M" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> It has a preg_match in there that looks for \$variable = blah;
>
> I cant help that a file works without
It has a preg_match in there that looks for \$variable = blah;
I cant help that a file works without Eval, and then to eval it, it messes
it up...
"John Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Josh Acecool M wrote:
> > var $The_Te
20 matches
Mail list logo