Hello guys; i'm having a problem with session behavior; i'm going straight to
it, but first some considerations:
PHP Version 5.2.5IIF 5.1Running on localhost (XP machine)I start sessions at
the top of every page.
A the start of a test page, just as example, i do the assignment:
$_SESSION["u
i am using a self submitting for using php
" method="POST" id="test2"
name="registrationform"> the registration page starts with a lot of terms
and other details about the registration and then the form fields for the
user to fill the registration page. i have used php to validate the form,
present
tedd wrote:
Hi gang:
This is probably trivial for most of you, but here's my solution to the
problem I presented earlier.
The problem was, I just wanted to be certain that if a use clicked a
button that they could only do it once. Sounds simple enough, huh?
Certainly, one can use javascrip
Ok, looks like I'm not getting much intrest here, can anyone recomend which
newsgroup I should post this under? Is there a crypto group or anything of
the like?:
- Dan
""Dan"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I'm using MCrypt and I have two very simple functions.
To get directory permissions, you'd really have to go through either FTP or a
terminal connection (telnet, etc).
Yes, but that's doing it programmatically, what about this?
What if you knew that a directory on a site was set to 0777 -- what
damage could you cause?
I have seen scripts that cl
Good call, Ray. And depending on how much you need to pull, you might also
include and src values. Also test to make sure there's an
href value for the tags, they could also be without
an href.
It gets really tricky when you start looking at javascript window.open or
window.location ty
Posting Summary for PHP-General List
Week Ending: Friday, 21 March, 2008
Messages| Bytes | Sender
++--
349 (100%) 782080 (100%) EVERYONE
27 (7.7%)
Ok, so the CURL and WGET stuff has been mentioned, but I don't think that
really addresses your question. You didn't ask what the "best way" to do
this, you asked how you would do it in PHP.
Here's what I would consider to be the 'theory' of the exercise:
* Do we obey robots.txt? If so, get t
On Fri, Mar 21, 2008 at 1:52 PM, tedd <[EMAIL PROTECTED]> wrote:
> Also, is there a way to spider through a remote web site gathering
> directory permissions?
I should hope not.
>
> If not, can one attempt to write a file and record the
> failures/successes (0777 directories)?
I don't know i
Richard Kurth wrote:
I have a text file that looks like the one below. I need to read the
file into a database.
I was trying the script below but is not working can you help?
$lines = file_get_contents('clientlist1.txt');
$find="Address:";
$f= strstr($f,$find);
$separat="City:";
$ADDRESS = sub
> I knew sometime I would have to figure out what CURL is, but now WGET
> (WETFTI) as well. I was hoping for something simple that wouldn't
> hurt my brain.
>
> Thanks a lot guys! :-)
For hijacking the thread? No Problem!
For making your brain hurt? Anytime!!
We're just here to help! ;)
On Fri, Mar 21, 2008 at 2:24 PM, tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
>
> This is probably trivial for most of you, but here's my solution to
> the problem I presented earlier.
>
> The problem was, I just wanted to be certain that if a use clicked a
> button that they could only do it onc
tedd wrote:
Hi gang:
How do you spider a remote web site in php?
I get the general idea, which is to take the root page, strip out the
links and repeat the process on those links. But, what's the code? Does
anyone have an example they can share or a direction for me to take?
Also, is there
[snip]
I have a text file that looks like the one below. I need to read the
file into a database.
I was trying the script below but is not working can you help?
[/snip]
Loop through with fopen and fgets
http://www.php.net/fopen
http://www.php.net/fgets
--
PHP General Mailing List (http://www.p
On Fri, Mar 21, 2008 at 1:52 PM, tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
>
> How do you spider a remote web site in php?
>
> I get the general idea, which is to take the root page, strip out the
> links and repeat the process on those links. But, what's the code?
I make absolutely no war
At 1:52 PM -0400 3/21/08, tedd wrote:
Hi gang:
How do you spider a remote web site in php?
You guys are always doing this. I ask a simple question like what's a
+ b and you guys high-jack the thread and start discussing the
quadratic equation. :-)
I knew sometime I would have to figure ou
I have a text file that looks like the one below. I need to read the
file into a database.
I was trying the script below but is not working can you help?
$lines = file_get_contents('clientlist1.txt');
$find="Address:";
$f= strstr($f,$find);
$separat="City:";
$ADDRESS = substr($f, 0, strpos($f,$
"Børge Holen" <[EMAIL PROTECTED]> wrote:
> On Friday 21 March 2008 19:12:04 Wolf wrote:
> > Daniel Brown <[EMAIL PROTECTED]> wrote:
> > > On Fri, Mar 21, 2008 at 1:58 PM, Wolf <[EMAIL PROTECTED]> wrote:
> > > > In one word: CURL
> > > >
> > > > In another word: WGET
> > > >
> > > >
On Friday 21 March 2008 19:12:04 Wolf wrote:
> Daniel Brown <[EMAIL PROTECTED]> wrote:
> > On Fri, Mar 21, 2008 at 1:58 PM, Wolf <[EMAIL PROTECTED]> wrote:
> > > In one word: CURL
> > >
> > > In another word: WGET
> > >
> > > Both are pretty effecitve and give pretty much the same results,
Hi gang:
This is probably trivial for most of you, but here's my solution to
the problem I presented earlier.
The problem was, I just wanted to be certain that if a use clicked a
button that they could only do it once. Sounds simple enough, huh?
Certainly, one can use javascript, but I want
On Friday 21 March 2008 18:58:59 Wolf wrote:
> tedd <[EMAIL PROTECTED]> wrote:
> > Hi gang:
> >
> > How do you spider a remote web site in php?
> >
> > I get the general idea, which is to take the root page, strip out the
> > links and repeat the process on those links. But, what's the code?
>
Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 21, 2008 at 1:58 PM, Wolf <[EMAIL PROTECTED]> wrote:
> >
> > In one word: CURL
> >
> > In another word: WGET
> >
> > Both are pretty effecitve and give pretty much the same results, however
> > with the CURL you can pass other things
On Fri, Mar 21, 2008 at 1:58 PM, Wolf <[EMAIL PROTECTED]> wrote:
>
> In one word: CURL
>
> In another word: WGET
>
> Both are pretty effecitve and give pretty much the same results, however
> with the CURL you can pass other things alone (user:pass) which with wget you
> can not do.
[EMAIL P
On Fri, 2008-03-21 at 13:58 -0400, Wolf wrote:
> tedd <[EMAIL PROTECTED]> wrote:
>
> In one word: CURL
>
> In another word: WGET
>
> Both are pretty effecitve and give pretty much the same results, however
> with the CURL you can pass other things alone (user:pass) which with
> wget you c
tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
>
> How do you spider a remote web site in php?
>
> I get the general idea, which is to take the root page, strip out the
> links and repeat the process on those links. But, what's the code?
> Does anyone have an example they can share or a dire
Hi gang:
How do you spider a remote web site in php?
I get the general idea, which is to take the root page, strip out the
links and repeat the process on those links. But, what's the code?
Does anyone have an example they can share or a direction for me to
take?
Also, is there a way to spi
On Fri, Mar 21, 2008 at 10:20 AM, VanBuskirk, Patricia
<[EMAIL PROTECTED]> wrote:
>
> I have the line "ini_set('display_errors', 'on');" in my code, but it is
> not working. Does it need to be the first command on the page?
[merge]
> I have full access to the php.ini file, which is what I do no
On Thu, Mar 20, 2008 at 6:54 PM, Sudhakar <[EMAIL PROTECTED]> wrote:
> if a user by mistake types the wrong url directly in the address bar ex=
> www.website.com/abou.php instead of
> typing www.website.com/aboutus.php instead of the browser displaying File
> not found or a 404 error message i w
Quoting Dave Goodchild <[EMAIL PROTECTED]>:
Why are you writing a logging class? Why not use error_log and enable error
logging?
Maybe he wants to log user actions in an application? Can log so much
more then just errors.
But the answer to this problem was already given. :)
On Fri, Mar
On Thu, Mar 20, 2008 at 10:04 PM, Mark <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Im new to php and i cant get the gd graphics library to work.
> Im running Apache, Mysql, Windows xp
>
> I downloaded and installed php from php.net.
>
> After much screwing around I finally got in to work with mysql an
Why are you writing a logging class? Why not use error_log and enable error
logging?
On Fri, Mar 21, 2008 at 1:11 PM, Al <[EMAIL PROTECTED]> wrote:
> int file_put_contents ( string $filename, mixed $data [, int $flags [,
> resource $context]] )
>
> This function is identical to calling fopen(), f
int file_put_contents ( string $filename, mixed $data [, int $flags [, resource
$context]] )
This function is identical to calling fopen(), fwrite() and fclose() successively to write data to a
file.
This native function does it for you
Mark Weaver wrote:
Hi all,
I've been lurking and read
Jim Lucas wrote:
Sudhakar wrote:
if a user by mistake types the wrong url directly in the address bar ex=
www.website.com/abou.php instead of
typing www.website.com/aboutus.php instead of the browser displaying File
not found or a 404 error message i would like to display a customized
page
whic
Am Donnerstag, 20. März 2008 22:42:59 schrieb Robert Burdo:
> Does anyone know how to convert an HTML form to a pdf with php?
Do you know "FPDF"? This can be a possibility. www.fpdf.org
Kai
--
Mit freundlichen Grüßen
Kai Kauer
Bruno - Taut - Ring 60
39130 Magdeburg
Tel.: 0391 - 506 99 76
Mo
34 matches
Mail list logo