Re: [PHP] REQUEST

2013-06-01 Thread Last Hacker Always onpoint
very funny how big a novice i can be.


On Wed, May 29, 2013 at 1:48 PM, Stuart Dallas stu...@3ft9.com wrote:

 On 29 May 2013, at 17:26, Last Hacker Always onpoint 
 lasthack...@gmail.com wrote:

  HEY GUYZ I KNOW, I KNOW THIS IS NOT A PLACE FOR SOMETHING LIKE THIS SO
 BUT
  HEY I HAVE A LITTLE TINY QUESTION FOR MY COOL GUYZ.
 
  DOES ANYONE HERE USE A SIMPLY MACHINE FUNCTION SCRIPT? BECAUSE THE
  SCRIPTINGS ARE A LITTLE HARD FOR ME TO UNDERSTAND PLEASE LET ME KNOW
 GUYS I
  WANT SOMEONE TO TEACH ME.

 SIMPLE MACHINES FORUM, not SIMPLY MACHINE FUNCTION. Funny how a couple of
 incorrect words can turn a simple question in to gobbledygook!

 As for your problems with the product, which I'm guessing are legion, try:
 http://support.simplemachines.org/

 -Stuart

 --
 Stuart Dallas
 3ft9 Ltd
 http://3ft9.com/



Re: [PHP] REQUEST

2013-06-01 Thread musicdev
On Wed, May 29, 2013 at 12:26 PM, Last Hacker Always onpoint 
lasthack...@gmail.com wrote:

 HEY GUYZ I KNOW, I KNOW THIS IS NOT A PLACE FOR SOMETHING LIKE THIS SO BUT
 HEY I HAVE A LITTLE TINY QUESTION FOR MY COOL GUYZ.

 DOES ANYONE HERE USE A SIMPLY MACHINE FUNCTION SCRIPT? BECAUSE THE
 SCRIPTINGS ARE A LITTLE HARD FOR ME TO UNDERSTAND PLEASE LET ME KNOW GUYS I
 WANT SOMEONE TO TEACH ME.


This type of behavior is quite common among people that do not understand
the difference between HELLO and hello.  That aside, what is a simple
machine function?  Further, I always find it surprising that people want
to learn hard to understand concepts without the least bit of research.
Considering how much information is available to any individual
online...I'm even more surprised that questions like this make it into
these lists.

Five words: Read a book! or google!


Re: [PHP] REQUEST

2013-05-29 Thread Stuart Dallas
On 29 May 2013, at 17:26, Last Hacker Always onpoint lasthack...@gmail.com 
wrote:

 HEY GUYZ I KNOW, I KNOW THIS IS NOT A PLACE FOR SOMETHING LIKE THIS SO BUT
 HEY I HAVE A LITTLE TINY QUESTION FOR MY COOL GUYZ.
 
 DOES ANYONE HERE USE A SIMPLY MACHINE FUNCTION SCRIPT? BECAUSE THE
 SCRIPTINGS ARE A LITTLE HARD FOR ME TO UNDERSTAND PLEASE LET ME KNOW GUYS I
 WANT SOMEONE TO TEACH ME.

1) Shouting at us will not encourage a helpful attitude.

2) Neither will calling us your cool guyz.

3) What is a simply machine function script?

If you want someone to teach you PHP you'll probably need to pony up some cash. 
If you want someone to help you while you're learning, show us that you're 
working on it and we'll be happy to help.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REQUEST

2013-05-29 Thread Tommy Pham
On Wed, May 29, 2013 at 9:30 AM, Stuart Dallas stu...@3ft9.com wrote:

 On 29 May 2013, at 17:26, Last Hacker Always onpoint 
 lasthack...@gmail.com wrote:

  HEY GUYZ I KNOW, I KNOW THIS IS NOT A PLACE FOR SOMETHING LIKE THIS SO
 BUT
  HEY I HAVE A LITTLE TINY QUESTION FOR MY COOL GUYZ.
 
  DOES ANYONE HERE USE A SIMPLY MACHINE FUNCTION SCRIPT? BECAUSE THE
  SCRIPTINGS ARE A LITTLE HARD FOR ME TO UNDERSTAND PLEASE LET ME KNOW
 GUYS I
  WANT SOMEONE TO TEACH ME.

 1) Shouting at us will not encourage a helpful attitude.

 2) Neither will calling us your cool guyz.

 3) What is a simply machine function script?


4) http://www.catb.org/esr/faqs/smart-questions.html



 If you want someone to teach you PHP you'll probably need to pony up some
 cash. If you want someone to help you while you're learning, show us that
 you're working on it and we'll be happy to help.

 -Stuart

 --
 Stuart Dallas
 3ft9 Ltd
 http://3ft9.com/
 --




Re: [PHP] REQUEST

2013-05-29 Thread Marc Guay
Does anyone else find it strange that the movie Troll only has 2 stars
on IMDB?  I think it's worth at least CAPSLOCK.


On 29 May 2013 11:45, Tommy Pham tommy...@gmail.com wrote:
 On Wed, May 29, 2013 at 9:30 AM, Stuart Dallas stu...@3ft9.com wrote:

 On 29 May 2013, at 17:26, Last Hacker Always onpoint 
 lasthack...@gmail.com wrote:

  HEY GUYZ I KNOW, I KNOW THIS IS NOT A PLACE FOR SOMETHING LIKE THIS SO
 BUT
  HEY I HAVE A LITTLE TINY QUESTION FOR MY COOL GUYZ.
 
  DOES ANYONE HERE USE A SIMPLY MACHINE FUNCTION SCRIPT? BECAUSE THE
  SCRIPTINGS ARE A LITTLE HARD FOR ME TO UNDERSTAND PLEASE LET ME KNOW
 GUYS I
  WANT SOMEONE TO TEACH ME.

 1) Shouting at us will not encourage a helpful attitude.

 2) Neither will calling us your cool guyz.

 3) What is a simply machine function script?


 4) http://www.catb.org/esr/faqs/smart-questions.html



 If you want someone to teach you PHP you'll probably need to pony up some
 cash. If you want someone to help you while you're learning, show us that
 you're working on it and we'll be happy to help.

 -Stuart

 --
 Stuart Dallas
 3ft9 Ltd
 http://3ft9.com/
 --



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REQUEST

2013-05-29 Thread Stuart Dallas
Please find your caps-lock key and turn it off!

Also, please include the list when replying, or expect an invoice for my 
consulting services.

On 29 May 2013, at 17:36, Last Hacker Always onpoint lasthack...@gmail.com 
wrote:

 A SIMPLE MACHINE FUNCTION, IS A FORUM SITE SCRIPT FROM THE SIMPLE MACHINE 
 COMPANY BUT UNLIKE OTHER SCRIPTS IT HAS A DIFFERENT TYPE OF SCRIPTING.

If you're having issues with forum software supplied by a company, please 
contact that company.

 AM STILL LEARNING PHP THOUGH BUT ASK ME A QUESTION SO I CAN PROVE MYSELF 
 WORDY. COZ YOU SEEM TO SEE ME NOT WORDY 

At a rough guess you mean worthy, not wordy. Worthy of what? You have nothing 
to prove to me other than the ability to make sense and ask a question that can 
be answered without four tonnes of interpretation.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/

 On Wed, May 29, 2013 at 5:30 PM, Stuart Dallas stu...@3ft9.com wrote:
 On 29 May 2013, at 17:26, Last Hacker Always onpoint lasthack...@gmail.com 
 wrote:
 
  HEY GUYZ I KNOW, I KNOW THIS IS NOT A PLACE FOR SOMETHING LIKE THIS SO BUT
  HEY I HAVE A LITTLE TINY QUESTION FOR MY COOL GUYZ.
 
  DOES ANYONE HERE USE A SIMPLY MACHINE FUNCTION SCRIPT? BECAUSE THE
  SCRIPTINGS ARE A LITTLE HARD FOR ME TO UNDERSTAND PLEASE LET ME KNOW GUYS I
  WANT SOMEONE TO TEACH ME.
 
 1) Shouting at us will not encourage a helpful attitude.
 
 2) Neither will calling us your cool guyz.
 
 3) What is a simply machine function script?
 
 If you want someone to teach you PHP you'll probably need to pony up some 
 cash. If you want someone to help you while you're learning, show us that 
 you're working on it and we'll be happy to help.
 
 -Stuart
 
 --
 Stuart Dallas
 3ft9 Ltd
 http://3ft9.com/
 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REQUEST

2013-05-29 Thread Bastien


Bastien Koert

On 2013-05-29, at 12:30 PM, Stuart Dallas stu...@3ft9.com wrote:

 On 29 May 2013, at 17:26, Last Hacker Always onpoint lasthack...@gmail.com 
 wrote:
 
 HEY GUYZ I KNOW, I KNOW THIS IS NOT A PLACE FOR SOMETHING LIKE THIS SO BUT
 HEY I HAVE A LITTLE TINY QUESTION FOR MY COOL GUYZ.
 
 DOES ANYONE HERE USE A SIMPLY MACHINE FUNCTION SCRIPT? BECAUSE THE
 SCRIPTINGS ARE A LITTLE HARD FOR ME TO UNDERSTAND PLEASE LET ME KNOW GUYS I
 WANT SOMEONE TO TEACH ME.
 
 1) Shouting at us will not encourage a helpful attitude.
 
 2) Neither will calling us your cool guyz.
 
 3) What is a simply machine function script?
 
 If you want someone to teach you PHP you'll probably need to pony up some 
 cash. If you want someone to help you while you're learning, show us that 
 you're working on it and we'll be happy to help.
 

If I had to guess I think he means a simple state machine. There are examples 
out there but he needs to read them
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REQUEST

2013-05-29 Thread Jim Giner

On 5/29/2013 12:51 PM, Stuart Dallas wrote:

Please find your caps-lock key and turn it off!

Also, please include the list when replying, or expect an invoice for my 
consulting services.

On 29 May 2013, at 17:36, Last Hacker Always onpoint lasthack...@gmail.com 
wrote:


A SIMPLE MACHINE FUNCTION, IS A FORUM SITE SCRIPT FROM THE SIMPLE MACHINE 
COMPANY BUT UNLIKE OTHER SCRIPTS IT HAS A DIFFERENT TYPE OF SCRIPTING.


If you're having issues with forum software supplied by a company, please 
contact that company.


AM STILL LEARNING PHP THOUGH BUT ASK ME A QUESTION SO I CAN PROVE MYSELF WORDY. 
COZ YOU SEEM TO SEE ME NOT WORDY


At a rough guess you mean worthy, not wordy. Worthy of what? You have nothing 
to prove to me other than the ability to make sense and ask a question that can 
be answered without four tonnes of interpretation.

-Stuart

Frankly I am a little reluctant to respond to someone who names himself 
hacker.  Makes me worry about what they think they are doing.  If the 
person hasn't learned enough php yet to be dangerous, why would I want 
to help him?


I love the responses so far.  Especially the one about how to ask a 
question.


As for our would-be hacker -

Try dealing with people you don't know with some respect.  Afterall - 
you are asking for help and you don't know any of us.  We're not your 
dudes/guyz/bros or anything like that.  Also - judging by your email 
address and your choice of conversational style, I'm assuming that your 
native language is (some form of) English.  In that case, TRY LEARNING 
HOW TO SPELL IT.  (I'm done shouting now.)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REQUEST

2013-05-29 Thread Jim Giner
And after all I said - a few minutes of searching tells me that the SMF 
forum software (according to the simplemachines.org site itself) is 
written in a very familiar language - PHP.  WITH a very familiar (to me) 
MySQL DB behind it.


So apparently our erstwhile hacker can't yet recognize PHP script when 
he sees it.  :)


Note to hacker:  Getting some free software doesn't mean the work to 
implement it is free also.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REQUEST

2013-05-29 Thread Stuart Dallas
On 29 May 2013, at 17:26, Last Hacker Always onpoint lasthack...@gmail.com 
wrote:

 HEY GUYZ I KNOW, I KNOW THIS IS NOT A PLACE FOR SOMETHING LIKE THIS SO BUT
 HEY I HAVE A LITTLE TINY QUESTION FOR MY COOL GUYZ.
 
 DOES ANYONE HERE USE A SIMPLY MACHINE FUNCTION SCRIPT? BECAUSE THE
 SCRIPTINGS ARE A LITTLE HARD FOR ME TO UNDERSTAND PLEASE LET ME KNOW GUYS I
 WANT SOMEONE TO TEACH ME.

SIMPLE MACHINES FORUM, not SIMPLY MACHINE FUNCTION. Funny how a couple of 
incorrect words can turn a simple question in to gobbledygook!

As for your problems with the product, which I'm guessing are legion, try: 
http://support.simplemachines.org/

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REQUEST

2013-05-29 Thread Stuart Dallas
On 29 May 2013, at 18:16, Jim Giner jim.gi...@albanyhandball.com wrote:

 On 5/29/2013 12:51 PM, Stuart Dallas wrote:
 Please find your caps-lock key and turn it off!
 
 Also, please include the list when replying, or expect an invoice for my 
 consulting services.
 
 On 29 May 2013, at 17:36, Last Hacker Always onpoint lasthack...@gmail.com 
 wrote:
 
 A SIMPLE MACHINE FUNCTION, IS A FORUM SITE SCRIPT FROM THE SIMPLE MACHINE 
 COMPANY BUT UNLIKE OTHER SCRIPTS IT HAS A DIFFERENT TYPE OF SCRIPTING.
 
 If you're having issues with forum software supplied by a company, please 
 contact that company.
 
 AM STILL LEARNING PHP THOUGH BUT ASK ME A QUESTION SO I CAN PROVE MYSELF 
 WORDY. COZ YOU SEEM TO SEE ME NOT WORDY
 
 At a rough guess you mean worthy, not wordy. Worthy of what? You have 
 nothing to prove to me other than the ability to make sense and ask a 
 question that can be answered without four tonnes of interpretation.
 
 -Stuart
 
 Frankly I am a little reluctant to respond to someone who names himself 
 hacker.  Makes me worry about what they think they are doing.  If the 
 person hasn't learned enough php yet to be dangerous, why would I want to 
 help him?

Anyone who calls themselves a hacker in a public place such as this does so 
with absolutely no clue what they're talking about, and that's without getting 
in to the hacker vs. cracker debate. However, regardless of that I tend not to 
judge people by the labels they give themselves, they're rarely accurate, 
especially when they think they're the last and/or best of their kind!

[On which note it has to be said he clearly isn't since he couldn't get 
lasthacker@ and had to settle for lasthacker1@. Just sayin'.]

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REQUEST

2013-05-29 Thread Tedd Sperling
On May 29, 2013, at 2:56 PM, Stuart Dallas stu...@3ft9.com wrote:
 Anyone who calls themselves a hacker in a public place such as this does so 
 with absolutely no clue what they're talking about, and that's without 
 getting in to the hacker vs. cracker debate. However, regardless of that I 
 tend not to judge people by the labels they give themselves, they're rarely 
 accurate, especially when they think they're the last and/or best of their 
 kind!
 
 -Stuart

I called myself a Fracker once, but that was when I worked in the oil industry.

Cheers,


tedd

PS: I think it probably best not to rise to the bait from people who forgot to 
turn off their cap's key.

_
tedd.sperl...@gmail.com
http://sperling.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REQUEST

2013-05-29 Thread Jim Giner

On 5/29/2013 5:45 PM, Tedd Sperling wrote:


PS: I think it probably best not to rise to the bait from people who forgot to 
turn off their cap's key.



You call it bait?  I call it stupidity.  Once no, more than once YES.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REQUEST

2013-05-29 Thread Matijn Woudt
On Wed, May 29, 2013 at 8:56 PM, Stuart Dallas stu...@3ft9.com wrote:


 [On which note it has to be said he clearly isn't since he couldn't get
 lasthacker@ and had to settle for lasthacker1@. Just sayin'.]

 -Stuart


I'm surprised he didn't call himself la5T hax0R alwayZ 0nP01nT  :)


Re: [PHP] REQUEST

2013-05-29 Thread Jim Giner


On 5/29/2013 5:53 PM, Matijn Woudt wrote:



I'm surprised he didn't call himself la5T hax0R alwayZ 0nP01nT  :)
He apparently can't find the caps key - how would he ever type that 
string correctly on a consistent basis?




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REQUEST

2013-05-29 Thread John Meyer

Jim Giner wrote:

On 5/29/2013 5:45 PM, Tedd Sperling wrote:


PS: I think it probably best not to rise to the bait from people who 
forgot to turn off their cap's key.




You call it bait?  I call it stupidity.  Once no, more than once YES.



Why not both?

Cue cute taco shell girl.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] request for feedback on logAndHandler

2012-03-30 Thread ma...@behnke.biz


rene7705 rene7...@gmail.com hat am 30. März 2012 um 11:29 geschrieben:

 I thought now would be a good time to get some early feedback on what
else
 I can improve for this component, at least from an end-user perspective
(I
 haven't yet updated the download zip on http://mediabeez.ws with these
 latest changes).


First of all this is only my opinion but you should not mistaken this
maillist for a review my extension list. This a discussion group about
PHP. I think there are proper places on the internet for that.

Most people reading this list will have no interest in reading a discussion
about stuff they are not interested in it.

I suggest you set up a github project, groogle group or whatever wiki/forum
you like where people interested in it can post and discuss.

Then you can send a mail to this list where you announce your discussion
group. So there is no dicussion on this list and you can promote your work
to be discussed.

Just my 2 cents on that.

Regards,
Marco

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] REQUEST and COOKIE

2011-09-06 Thread James Yerge
On 09/06/2011 05:47 PM, ALEJANDRO ZAPIOLA wrote:
 Seeing the $_REQUEST[] and it is a matrix that has the content of $_GET,
 $_POST and $_COOKIE, I think this can be used maliciously into the script.
 i.e.:
 request1.php
 ?php
 setCookie(name,alejandro);
 echo scriptlocation.href='request2.php'/script;
 ?

 In this case, I'm setting the variable 'name' with value 'Alejandro', then
 redirects to request2.php
 request2.php
 ?php
 print_r($_COOKIE);
 echo br;
 print_r($_REQUEST);
 echo br;
 if(@$_REQUEST['name'] == admin){
 echo I am admin;
 }else{
 echo You can not see this page;
 }
 ?

 Here's the problem. The variable called 'name' is into REQUEST context, and
 this is accessible by GET and POST methods, and it is accessible by the
 COOKIE matrix as well. In this case, use Request is unsafe because I can
 change the variable called 'name' via GET method and it's give me access as
 admin.

 Mi question is: I do not see the good practice of using COOKIE values into
 of REQUEST, what I mean is that it can become in a programming bug. Also I
 could not fin answers anywhere else.

 thoughts?
 Thanks!



Why would you use this method to for authentication or validation? By
default, $_REQUEST is populated with the $_GET, $_POST and $_COOKIE
contents, which could potentially be modified by the remote user, which
in turns makes the data not trustworthy.

Never trust input data, ever, it must be sanitized, scrubbed, etc before
even considering it trustworthy - in my opinion.

As for your question, it makes complete sense to populate $_REQUEST with
$_GET, $_POST and $_COOKIE contents by default because the three call in
the REQUEST category for the HTTP protocol. Since the cookie was sent by
the server, the COOKIE header is going to be evident in the REQUEST headers.

Therefore, the only way a bug is going to be introduced and security
breached is by the author of the code ;)

http://us.php.net/manual/en/reserved.variables.request.php

The PHP team even makes mention that the contents of $_REQUEST cannot be
trusted.

James


Re: [PHP] request for support

2009-12-08 Thread Ashley Sheridan
On Tue, 2009-12-08 at 11:29 +, Tarek Kaddoura wrote:

 
 
 I'm using PHP 5.2.11 with Apache 2 (and i also tried Apache 2.2)
 
 However, when I add this entry to my httpd.conf:
 code
 LoadModule php4_module C:/Program Files/php/sapi/php4apache.dll
 /code
 Apache will crash when trying to start the service.
 If I comment the line out, Apache starts just fine.
 
 Thanks for your help.
 Regards, 
 
 
 _
 Windows Live Hotmail: Your friends can get your Facebook updates, right from 
 Hotmail®.
 http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009


Well, you say you've got PHP 5 installed, yet you're trying to load a
PHP 4 module in. Which do you want? I don't think Apache can run 4 and 5
at the same time without complications.

Thanks,
Ash
http://www.ashleysheridan.co.uk




RE: [PHP] request for support

2009-12-08 Thread Ashley Sheridan
On Tue, 2009-12-08 at 11:53 +, Tarek Kaddoura wrote:

 
 sorry sorry thats a typo error
 the code im using is:
 PHPIniDir C:/PHP/
 LoadModule php5_module C:/PHP/php5apache2.dll
 
 
 __
 Subject: Re: [PHP] request for support
 From: a...@ashleysheridan.co.uk
 To: stevewiese...@hotmail.com
 CC: php-general@lists.php.net
 Date: Tue, 8 Dec 2009 11:45:38 +
 
 On Tue, 2009-12-08 at 11:29 +, Tarek Kaddoura wrote: 
 
 
 
 I'm using PHP 5.2.11 with Apache 2 (and i also tried Apache 2.2)
 
 However, when I add this entry to my httpd.conf:
 code
 LoadModule php4_module C:/Program Files/php/sapi/php4apache.dll
 /code
 Apache will crash when trying to start the service.
 If I comment the line out, Apache starts just fine.
 
 Thanks for your help.
 Regards, 
 
 
 _
 Windows Live Hotmail: Your friends can get your Facebook updates, 
 right from Hotmail®.
 
 http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009
 
 
 Well, you say you've got PHP 5 installed, yet you're trying to load a
 PHP 4 module in. Which do you want? I don't think Apache can run 4 and
 5 at the same time without complications.
 
 Thanks,
 Ash
 http://www.ashleysheridan.co.uk
 
 
 
 
 
 __
 Windows Live: Keep your friends up to date with what you do online.


Don't forget to hit reply to all on the list, and try not to top
post! :p

What does it say on the command line when you try to start the service
up?

In a root privaleged console type:

/etc/init.d/httpd start


Thanks,
Ash
http://www.ashleysheridan.co.uk




RE: [PHP] request for support

2009-12-08 Thread Tarek Kaddoura



Subject: RE: [PHP] request for support
From: a...@ashleysheridan.co.uk
To: stevewiese...@hotmail.com
CC: php-general@lists.php.net
Date: Tue, 8 Dec 2009 11:53:53 +






  
  


On Tue, 2009-12-08 at 11:53 +, Tarek Kaddoura wrote:




sorry sorry thats a typo error

the code im using is:

PHPIniDir C:/PHP/

LoadModule php5_module C:/PHP/php5apache2.dll







Subject: Re: [PHP] request for support

From: a...@ashleysheridan.co.uk

To: stevewiese...@hotmail.com

CC: php-general@lists.php.net

Date: Tue, 8 Dec 2009 11:45:38 +



On Tue, 2009-12-08 at 11:29 +, Tarek Kaddoura wrote: 



I'm using PHP 5.2.11 with Apache 2 (and i also tried Apache 2.2)

However, when I add this entry to my httpd.conf:
code
LoadModule php4_module C:/Program Files/php/sapi/php4apache.dll
/code
Apache will crash when trying to start the service.
If I comment the line out, Apache starts just fine.

Thanks for your help.
Regards, 

  
_
Windows Live Hotmail: Your friends can get your Facebook updates, right from 
Hotmail®.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009




Well, you say you've got PHP 5 installed, yet you're trying to load a PHP 4 
module in. Which do you want? I don't think Apache can run 4 and 5 at the same 
time without complications.






Thanks,

Ash

http://www.ashleysheridan.co.uk
















Windows Live: Keep your friends up to date with what you do online.




Don't forget to hit reply to all on the list, and try not to top post! :p



What does it say on the command line when you try to start the service up?



In a root privaleged console type:



/etc/init.d/httpd start








Thanks,

Ash

http://www.ashleysheridan.co.uk






No Ashley im using Windows,
whenever i start the apache service, it either crashes or promptes me that the 
operation has failed
if i comment these 2 lines out, the apache service starts normally





  
_
Keep your friends updated—even when you’re not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010

RE: [PHP] request for support

2009-12-08 Thread Ashley Sheridan
On Tue, 2009-12-08 at 12:08 +, Tarek Kaddoura wrote:

 
 
 
 __
 Subject: RE: [PHP] request for support
 From: a...@ashleysheridan.co.uk
 To: stevewiese...@hotmail.com
 CC: php-general@lists.php.net
 Date: Tue, 8 Dec 2009 11:53:53 +
 
 On Tue, 2009-12-08 at 11:53 +, Tarek Kaddoura wrote:
 
 
 sorry sorry thats a typo error
 the code im using is:
 PHPIniDir C:/PHP/
 LoadModule php5_module C:/PHP/php5apache2.dll
 
 
 __
 
 Subject: Re: [PHP] request for support
 From: a...@ashleysheridan.co.uk
 To: stevewiese...@hotmail.com
 CC: php-general@lists.php.net
 Date: Tue, 8 Dec 2009 11:45:38 +
 
 On Tue, 2009-12-08 at 11:29 +, Tarek Kaddoura wrote: 
 
 
 I'm using PHP 5.2.11 with Apache 2 (and i also tried Apache 
 2.2)
 
 However, when I add this entry to my httpd.conf:
 code
 LoadModule php4_module C:/Program 
 Files/php/sapi/php4apache.dll
 /code
 Apache will crash when trying to start the service.
 If I comment the line out, Apache starts just fine.
 
 Thanks for your help.
 Regards, 
 
 
 
 _
 Windows Live Hotmail: Your friends can get your Facebook 
 updates, right from Hotmail®.
 
 http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009
 
 
 Well, you say you've got PHP 5 installed, yet you're trying to
 load a PHP 4 module in. Which do you want? I don't think
 Apache can run 4 and 5 at the same time without complications.
 
 Thanks,
 Ash
 http://www.ashleysheridan.co.uk
 
 
 
 
 
 
 __
 
 Windows Live: Keep your friends up to date with what you do
 online.
 
 
 Don't forget to hit reply to all on the list, and try not to top
 post! :p
 
 What does it say on the command line when you try to start the service
 up?
 
 In a root privaleged console type:
 
 /etc/init.d/httpd start
 
 
 Thanks,
 Ash
 http://www.ashleysheridan.co.uk
 
 
 
 
 No Ashley im using Windows,
 whenever i start the apache service, it either crashes or promptes me
 that the operation has failed
 if i comment these 2 lines out, the apache service starts normally
 
 
 
 
 
 __
 Keep your friends updated— even when you’re not signed in.


Why don't you try a Wamp install, rather than installing the individual
components?

Thanks,
Ash
http://www.ashleysheridan.co.uk




Re: [PHP] request for support

2009-12-08 Thread Philip Thompson
On Dec 8, 2009, at 6:12 AM, Ashley Sheridan wrote:

 On Tue, 2009-12-08 at 12:08 +, Tarek Kaddoura wrote:
 __
 Subject: RE: [PHP] request for support
 From: a...@ashleysheridan.co.uk
 To: stevewiese...@hotmail.com
 CC: php-general@lists.php.net
 Date: Tue, 8 Dec 2009 11:53:53 +
 
 On Tue, 2009-12-08 at 11:53 +, Tarek Kaddoura wrote:
 
 
sorry sorry thats a typo error
the code im using is:
PHPIniDir C:/PHP/
LoadModule php5_module C:/PHP/php5apache2.dll
 
__
 
Subject: Re: [PHP] request for support
From: a...@ashleysheridan.co.uk
To: stevewiese...@hotmail.com
CC: php-general@lists.php.net
Date: Tue, 8 Dec 2009 11:45:38 +
 
On Tue, 2009-12-08 at 11:29 +, Tarek Kaddoura wrote: 
 
 
I'm using PHP 5.2.11 with Apache 2 (and i also tried Apache 
 2.2)
 
However, when I add this entry to my httpd.conf:
code
LoadModule php4_module C:/Program 
 Files/php/sapi/php4apache.dll
/code
Apache will crash when trying to start the service.
If I comment the line out, Apache starts just fine.
 
Thanks for your help.
Regards, 
 

Well, you say you've got PHP 5 installed, yet you're trying to
load a PHP 4 module in. Which do you want? I don't think
Apache can run 4 and 5 at the same time without complications.
 
Thanks,
Ash
http://www.ashleysheridan.co.uk
 
 Don't forget to hit reply to all on the list, and try not to top
 post! :p
 
 What does it say on the command line when you try to start the service
 up?
 
 In a root privaleged console type:
 
 /etc/init.d/httpd start
 
 
 Thanks,
 Ash
 http://www.ashleysheridan.co.uk
 
 No Ashley im using Windows,
 whenever i start the apache service, it either crashes or promptes me
 that the operation has failed
 if i comment these 2 lines out, the apache service starts normally
 
 Why don't you try a Wamp install, rather than installing the individual
 components?
 
 Thanks,
 Ash
 http://www.ashleysheridan.co.uk

Why don't you check the apache logs to see what's (not) happening?

~Philip



Re: [PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API

2009-01-07 Thread Stuart
2009/1/7 L. Herbert lherb...@iluvmydesign.com:
 Does anyone know if it is possible to get a collection of YouTube videos
 from multiple user accounts?  If so, can you provide some insight and
 direction?

 Someone more knowledgeable than me on this topic indicated that it is only
 possible get a collection of YouTube videos on a per account basis.  On its
 face this make sense to me but I'm just getting a second opinion.

 I realize I can loop requests via the API and format the results as needed,
 but was hoping for a more streamlined option.

This question has nothing to do with PHP. I suggest you try the
YouTube developers site - I'm sure there's a resource there that can
help you... http://youtube.com/dev

-Stuart

-- 
http://stut.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API

2009-01-07 Thread L. Herbert

Stuart,

Let me clarify, I am using PHP to call/receive via the YouTube API and  
to format/display the return data within my PHP application.  I  
believe that has a little something to do with PHP.  Forgive my  
presumption if otherwise.


-- Eric

On Jan 7, 2009, at 4:40 AM, Stuart wrote:


2009/1/7 L. Herbert lherb...@iluvmydesign.com:
Does anyone know if it is possible to get a collection of YouTube  
videos

from multiple user accounts?  If so, can you provide some insight and
direction?

Someone more knowledgeable than me on this topic indicated that it  
is only
possible get a collection of YouTube videos on a per account  
basis.  On its

face this make sense to me but I'm just getting a second opinion.

I realize I can loop requests via the API and format the results as  
needed,

but was hoping for a more streamlined option.


This question has nothing to do with PHP. I suggest you try the
YouTube developers site - I'm sure there's a resource there that can
help you... http://youtube.com/dev

-Stuart

--
http://stut.net/



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API

2009-01-07 Thread Stuart
2009/1/7 L. Herbert lherb...@iluvmydesign.com:
 Let me clarify, I am using PHP to call/receive via the YouTube API and to
 format/display the return data within my PHP application.  I believe that
 has a little something to do with PHP.  Forgive my presumption if otherwise.

As I understand it you're wanting to request a collection of videos
from multiple user accounts in a single API call. PHP cannot help you
if the API does not support doing that, so you need to direct the
question at people who maintain and use the API.

PHP can do a great many things, but it cannot remotely change the
functionality of a third party API.

-Stuart

-- 
http://stut.net/

 On Jan 7, 2009, at 4:40 AM, Stuart wrote:

 2009/1/7 L. Herbert lherb...@iluvmydesign.com:

 Does anyone know if it is possible to get a collection of YouTube videos
 from multiple user accounts?  If so, can you provide some insight and
 direction?

 Someone more knowledgeable than me on this topic indicated that it is
 only
 possible get a collection of YouTube videos on a per account basis.  On
 its
 face this make sense to me but I'm just getting a second opinion.

 I realize I can loop requests via the API and format the results as
 needed,
 but was hoping for a more streamlined option.

 This question has nothing to do with PHP. I suggest you try the
 YouTube developers site - I'm sure there's a resource there that can
 help you... http://youtube.com/dev

 -Stuart

 --
 http://stut.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API

2009-01-07 Thread L. Herbert

Stuart,


PHP can do a great many things, but it cannot remotely change the
functionality of a third party API.


Is that part of your understanding of my request?  To clarify further  
for you, I am simply asking my question here (in addition to other  
reference/discussion forums) to see if any developer who frequents  
this list may have some experience in this regard and offer some  
helpful insight.  You obviously feel my question is out of place... I  
apologize for any discomfort this may have caused you.


On Jan 7, 2009, at 5:19 AM, Stuart wrote:


2009/1/7 L. Herbert lherb...@iluvmydesign.com:
Let me clarify, I am using PHP to call/receive via the YouTube API  
and to
format/display the return data within my PHP application.  I  
believe that
has a little something to do with PHP.  Forgive my presumption if  
otherwise.


As I understand it you're wanting to request a collection of videos
from multiple user accounts in a single API call. PHP cannot help you
if the API does not support doing that, so you need to direct the
question at people who maintain and use the API.

PHP can do a great many things, but it cannot remotely change the
functionality of a third party API.

-Stuart

--
http://stut.net/


On Jan 7, 2009, at 4:40 AM, Stuart wrote:


2009/1/7 L. Herbert lherb...@iluvmydesign.com:


Does anyone know if it is possible to get a collection of YouTube  
videos
from multiple user accounts?  If so, can you provide some insight  
and

direction?

Someone more knowledgeable than me on this topic indicated that  
it is

only
possible get a collection of YouTube videos on a per account  
basis.  On

its
face this make sense to me but I'm just getting a second opinion.

I realize I can loop requests via the API and format the results as
needed,
but was hoping for a more streamlined option.


This question has nothing to do with PHP. I suggest you try the
YouTube developers site - I'm sure there's a resource there that can
help you... http://youtube.com/dev

-Stuart

--
http://stut.net/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API

2009-01-07 Thread paragasu
hi Herbet,
i am interested on what your are looking for. maybe you just have to
write a PHP script to
loop through every yourtube account. btw, if you found the solutions,
please tell me or we can work on the solutions together?

On 1/7/09, L. Herbert lherb...@iluvmydesign.com wrote:
 Stuart,

 PHP can do a great many things, but it cannot remotely change the
 functionality of a third party API.

 Is that part of your understanding of my request?  To clarify further
 for you, I am simply asking my question here (in addition to other
 reference/discussion forums) to see if any developer who frequents
 this list may have some experience in this regard and offer some
 helpful insight.  You obviously feel my question is out of place... I
 apologize for any discomfort this may have caused you.

 On Jan 7, 2009, at 5:19 AM, Stuart wrote:

 2009/1/7 L. Herbert lherb...@iluvmydesign.com:
 Let me clarify, I am using PHP to call/receive via the YouTube API
 and to
 format/display the return data within my PHP application.  I
 believe that
 has a little something to do with PHP.  Forgive my presumption if
 otherwise.

 As I understand it you're wanting to request a collection of videos
 from multiple user accounts in a single API call. PHP cannot help you
 if the API does not support doing that, so you need to direct the
 question at people who maintain and use the API.

 PHP can do a great many things, but it cannot remotely change the
 functionality of a third party API.

 -Stuart

 --
 http://stut.net/

 On Jan 7, 2009, at 4:40 AM, Stuart wrote:

 2009/1/7 L. Herbert lherb...@iluvmydesign.com:

 Does anyone know if it is possible to get a collection of YouTube
 videos
 from multiple user accounts?  If so, can you provide some insight
 and
 direction?

 Someone more knowledgeable than me on this topic indicated that
 it is
 only
 possible get a collection of YouTube videos on a per account
 basis.  On
 its
 face this make sense to me but I'm just getting a second opinion.

 I realize I can loop requests via the API and format the results as
 needed,
 but was hoping for a more streamlined option.

 This question has nothing to do with PHP. I suggest you try the
 YouTube developers site - I'm sure there's a resource there that can
 help you... http://youtube.com/dev

 -Stuart

 --
 http://stut.net/

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API

2009-01-07 Thread ceo

It is the wrong list to ask.



The answer is that the YouTube API does not support that.



You'll have to merge and sort in PHP.



I recommend you cache the results for all external web services, as a general 
principle.



For a large number of videos, you'll want to merge/sort in DB, not in PHP 
arrays.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request to bash/jump/screw my code

2008-12-08 Thread Daniel Brown
On Mon, Dec 8, 2008 at 12:01 PM, Ryan S [EMAIL PROTECTED] wrote:

 We cannot really afford a security specialist so would appreciate it if you 
 could hit our site with whatever you want to (just dont take us offline with 
 something like a DDOS please) and tell us if you find any problems.

Hey, Ryan;

Here are a few issues:

* When subscribing to the newsletter:
Error: Email is invalid, please check it and try again.
Fatal error: Cannot break/continue 1 level in
/path/to/your/site/hidden/funnies_via_email.php on line 20

* Your output isn't cleaned up when coming from the database.  You
need to put a few stripslashes() instances in there.

* http://www.ezee.se/funnies/funnies_recommend.php, at least when
submitting a blank report, has the following error:
Warning: Smarty error: unable to read resource: .tpl in
/path/to/your/site/hidden/Smarty_2_6_9/Smarty.class.php on line 1092

* The following places are web-directory accessible (I only
checked a few, but watch them - the images directory could easily be
spidered and all content stolen):
http://www.ezee.se/includes/Smarty_2_6_9/
http://www.ezee.se/includes/
http://www.ezee.se/funnies/final_images_uploaded_folder/

Those are only a few things I noticed in the few minutes I spent
going through.  I tried some simple SQL injection stuff, but it looks
like you're properly sanitizing.  However, typical web developer:

http://www.ezee.se/funnies/phpinfo.php

Makes it even easier to figure out what's what on there.  While
your upload_max_filesize and post_max_size are good to keep you from
having disk space run out from spoofed uploads, they will also limit
you on legitimate uploads.  If you want someone to upload a sound or
video file, it may exceed the limits you have on there.

-- 
/Daniel P. Brown
http://www.parasane.net/
[EMAIL PROTECTED] || [EMAIL PROTECTED]
50% Off Hosting! http://www.pilotpig.net/specials.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request to bash/jump/screw my code

2008-12-08 Thread Rick Pasotto
On Mon, Dec 08, 2008 at 09:01:56AM -0800, Ryan S wrote:
 
 Any advise is also most welcome.

'Advise' is a verb.

'Advice' is a noun.

No charge.

-- 
I didn't understand this at first, but YOUR CONVINCING USE
 OF CAPITAL LETTERS HAS MADE IT ALL CLEAR TO ME. -- J. Nairn
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request to bash/jump/screw my code

2008-12-08 Thread Rick Pasotto
On Mon, Dec 08, 2008 at 09:01:56AM -0800, Ryan S wrote:
 Hello everyone,
 
 Recently I worked on a rather decent sized project and it just went
 live yesterday.
 
 We cannot really afford a security specialist so would appreciate it
 if you could hit our site with whatever you want to (just dont take us
 offline with something like a DDOS please) and tell us if you find any
 problems.
 
 As we cannot afford to pay you for this service all we an say is thank
 you if you decide to give this a go with a few seconds or a few
 minutes of your time. It should be fun though as its a jokes section
 and even has funny images/cartoons and funny vids.
 
 The site is at http://ezee.se/funnies/index.php

validator.w3.org found 109 errors and 69 warnings on the front page.

http://ezee.se/funnies/show_funny.php?id=p88sec=1 has:

Posted by:  \' OR id != \'  On: 2008-12-08 13:24:59
\' OR id != \'

-- 
The greatest danger to liberty today comes from...expert administrators
 exclusively concerned with what they regard as the public good.
-- Friedrich Hayek
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request to bash/jump/screw my code

2008-12-08 Thread Daniel Brown
On Mon, Dec 8, 2008 at 1:05 PM, Rick Pasotto [EMAIL PROTECTED] wrote:

 http://ezee.se/funnies/show_funny.php?id=p88sec=1 has:

 Posted by:  \' OR id != \'  On: 2008-12-08 13:24:59
 \' OR id != \'

That was me, testing for SQL injection.

-- 
/Daniel P. Brown
http://www.parasane.net/
[EMAIL PROTECTED] || [EMAIL PROTECTED]
50% Off Hosting! http://www.pilotpig.net/specials.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request to bash/jump/screw my code

2008-12-08 Thread Ryan S
Snippy 
 Any advise is also most welcome.

'Advise' is a verb.

'Advice' is a noun.

No charge.

/Snippy

LOL! Thanks!
Got caught by the grammar and typo police but no ticket!
Must be my lucky day!

Cheers!
R



  

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request to bash/jump/screw my code

2008-12-08 Thread ceo

 * Your output isn't cleaned up when coming from the database.  You need

 to put a few stripslashes() instances in there.



Actually, if you think you have to use stripslashes, then, in fact, you've used 
addslashes and/or Magic Quotes TWICE, and your db has BAD DATA in it.



Fix the data intake routines to escape your data ONCE, properly, using the db 
escape routine (like http://php.net/mysql_real_escape_string).



ANY time you find yourself using stripslashes, you messed up way back in the 
production line, and need to pull the big red handle and fix the process way 
before where you are now.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request for work on the php.net FAQs

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 1:42 PM, Philip Olson [EMAIL PROTECTED] wrote:
 Hello everyone,

  The PHP manual FAQ has not received much attention over these past
  few years, so it's outdated. This needs to be fixed.

  If you would like to add questions (and ideally, with answers) to the
  FAQ then please do so by either adding them to this thread, or point
  them out, and if you would like to work on the manual itself then
  please read the HOWTO: http://doc.php.net/php/dochowto/

  Note: Each extension will now have its own FAQ, which means the more
  the merrier. So the URLs will be php.net/{extension}/faq.
  Note: Questions and Answers should stand the test of time, e.g., not
  require editing with every PHP version.

Coincidentally, I just realized a few minutes ago that I don't
have karma to phpdoc, so it's time to send an email over there

Aside from that, count me in.  As I have time I'll put some up.

-- 
/Dan

Daniel P. Brown
Senior Unix Geek
? while(1) { $me = $mind--; sleep(86400); } ?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request for...

2007-01-21 Thread Robert Cummings
On Sat, 2007-01-20 at 14:42 +, Wikus Moller wrote:
 Hi.
 
 Since this is a mailing list for web developers,

Nope, you Sir are wrong. This is a mailing list for PHP web developers.
Note the PHP part, it's quite important.

HAND

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request for...

2007-01-21 Thread Robert Cummings
On Sat, 2007-01-20 at 16:09 +, Stut wrote:

 3) This is not a mailing list for web developers, it's a mailing list 
 for PHP developers. The fact that most PHP development happens in a web 
 context does not make it exclusively for web development.

Not that this was directed at me, but I apologize for alienating the
large volumne of non web PHP developers in my previous post. I should
know better since I do plenty of shell scripting with PHP :)

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request for...

2007-01-20 Thread Jochem Maas
Wikus Moller wrote:
 Hi.
 
 Since this is a mailing list for web developers, I thought I might as
 well post an o f f  t o p i c request.
 Does anyone know of any website where I can get a exe or jar sitemap
 generating software? 

php.

 Particularly not GsiteCrawler as it uses too much
 system resources. A java applet would be nice. And, if possible, free
 of charge ^.^
 
 And does anyone know how and if a j a v a applet can be extracted from
 a webpage?(also a class)

yes is can. scrap the relevant page, find the relevant url and
make a request for that resource. bingo~

 
 Thanks
 Wikus
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request for...

2007-01-20 Thread Stut

Wikus Moller wrote:

Since this is a mailing list for web developers, I thought I might as
well post an o f f  t o p i c request.
Does anyone know of any website where I can get a exe or jar sitemap
generating software? Particularly not GsiteCrawler as it uses too much
system resources. A java applet would be nice. And, if possible, free
of charge ^.^

And does anyone know how and if a j a v a applet can be extracted from
a webpage?(also a class)


1) You state that you know it's off-topic.
2) For some reason you felt the need to make excessive use of spaces 
(while offtopic and java are considered dirty words in some places, 
they're not here, and even then you didn't obfuscate all instances).
3) This is not a mailing list for web developers, it's a mailing list 
for PHP developers. The fact that most PHP development happens in a web 
context does not make it exclusively for web development.

4) You would prefer a java applet yet you ask on a PHP mailing list.

My question... just how dumb are you?

Sorry, didn't mean that. I meant to ask... have you tried searching one 
of the many excellent search engines that are available? If so, and you 
didn't find a ton of relevant results, just how dumb are you?


-Stut

Easily annoyed today. Must be a Saturday, I never could get the hang of 
Saturdays.

[Doug is dead, long live Doug!!]
Ramble ramble ramble.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request for...

2007-01-20 Thread Børge Holen
On Saturday 20 January 2007 17:09, Stut wrote:
 Wikus Moller wrote:
  Since this is a mailing list for web developers, I thought I might as
  well post an o f f  t o p i c request.
  Does anyone know of any website where I can get a exe or jar sitemap
  generating software? Particularly not GsiteCrawler as it uses too much
  system resources. A java applet would be nice. And, if possible, free
  of charge ^.^
 
  And does anyone know how and if a j a v a applet can be extracted from
  a webpage?(also a class)

 1) You state that you know it's off-topic.
 2) For some reason you felt the need to make excessive use of spaces
 (while offtopic and java are considered dirty words in some places,
 they're not here, and even then you didn't obfuscate all instances).
 3) This is not a mailing list for web developers, it's a mailing list
 for PHP developers. The fact that most PHP development happens in a web
 context does not make it exclusively for web development.
 4) You would prefer a java applet yet you ask on a PHP mailing list.

 My question... just how dumb are you?

 Sorry, didn't mean that. I meant to ask... have you tried searching one
 of the many excellent search engines that are available? If so, and you
 didn't find a ton of relevant results, just how dumb are you?

 -Stut

 Easily annoyed today. Must be a Saturday, I never could get the hang of
 Saturdays.

ah,,... you say, I'm just ackin' to get rid of Tuesdays.
Saturdays is quite alright, in fact... this is the 
dontwannadonothingandgetsawaywithitday!


 [Doug is dead, long live Doug!!]
 Ramble ramble ramble.

-- 
---
Børge
Kennel Arivene 
http://www.arivene.net
---

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Request for...

2007-01-20 Thread Jay Blanchard
[snip]
Since this is a mailing list for web developers
[/snip]

This is a mailing list for PHP developers who might also do web
development. Evolt.org has a great list for w e b d e v e l o p e r s
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Request for...

2007-01-20 Thread Jay Blanchard
[snip]
Since this is a mailing list for web developers, I thought I might as
well post an o f f  t o p i c request.
Does anyone know of any website where I can get a exe or jar sitemap
generating software? Particularly not GsiteCrawler as it uses too much
system resources. A java applet would be nice. And, if possible, free
of charge ^.^

And does anyone know how and if a j a v a applet can be extracted from
a webpage?(also a class)
[/snip]

Wikus my dear fellow, are their Java mailing lists? Would you like me to
find one for you? Are you familiar with Google?

Better yet, how about one in PHP for free? I went to Google and typed in
'site map generator PHP' and the first result was
http://www.softswot.com/sitemapinfo.php. Not only is the web site done
in PHP, but the application is as well. How cool is that?

Listen up butt-bite. Next time, before you respond off list to those who
tried to give you even the teeniest bit of help please demonstrate that
you tried to help yourself get the answer or showed a modicum of
initiative. Hundreds will attempt to help you when you have shown that
you tried to help yourself.

 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request for...

2007-01-20 Thread Jochem Maas
Børge Holen wrote:
 On Saturday 20 January 2007 17:09, Stut wrote:
 Wikus Moller wrote:

...

 -Stut

 Easily annoyed today. 

dunno - I reckon the OP was trying pretty hard ;-)

 Must be a Saturday, I never could get the hang of
 Saturdays.
 
 ah,,... you say, I'm just ackin' to get rid of Tuesdays.
 Saturdays is quite alright, in fact... this is the 
 dontwannadonothingandgetsawaywithitday!

I'm with Garfield - f*** mondays :-)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request for...

2007-01-20 Thread Jochem Maas
Jay Blanchard wrote:
 [snip]
 Since this is a mailing list for web developers, I thought I might as
 well post an o f f  t o p i c request.
 Does anyone know of any website where I can get a exe or jar sitemap
 generating software? Particularly not GsiteCrawler as it uses too much
 system resources. A java applet would be nice. And, if possible, free
 of charge ^.^
 
 And does anyone know how and if a j a v a applet can be extracted from
 a webpage?(also a class)
 [/snip]
 
 Wikus my dear fellow, are their Java mailing lists? Would you like me to
 find one for you? Are you familiar with Google?
 
 Better yet, how about one in PHP for free? I went to Google and typed in
 'site map generator PHP' and the first result was
 http://www.softswot.com/sitemapinfo.php. Not only is the web site done
 in PHP, but the application is as well. How cool is that?
 
 Listen up butt-bite. Next time, before you respond off list to those who
 tried to give you even the teeniest bit of help please demonstrate that
 you tried to help yourself get the answer or showed a modicum of
 initiative. Hundreds will attempt to help you when you have shown that
 you tried to help yourself.
 

and otherwise you risk getting Blanch'ed (like what they do with vegetables)

so for the rest of the list here's 2 new 'verbs' in honour of 2 fine members
(I can't help if their names 'fit'):

to be Lynched   - to receive a 2000 word essayon the topic of your 
choice followed by a *shrug*
to be Blanched  - to be told (in one of many, many ways) to 
RTFM/STFW/get-your-head-out-of-your-arse

  
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request for...

2007-01-20 Thread Børge Holen
On Saturday 20 January 2007 22:54, Jochem Maas wrote:
 Børge Holen wrote:
  On Saturday 20 January 2007 17:09, Stut wrote:
  Wikus Moller wrote:

 ...

  -Stut
 
  Easily annoyed today.

 dunno - I reckon the OP was trying pretty hard ;-)

  Must be a Saturday, I never could get the hang of
  Saturdays.
 
  ah,,... you say, I'm just ackin' to get rid of Tuesdays.
  Saturdays is quite alright, in fact... this is the
  dontwannadonothingandgetsawaywithitday!

 I'm with Garfield - f*** mondays :-)

BAH, now I'm with Stut on this;(

I rewrote one of the first large database handling asswipe*#$%% file I made, 
and right at the *#$#%# end, everything went astray... before uploading... 
gone with a wind, fart or whatever!

thats 20K of lost bytes

I'll neverever rewrite php4 to php5. F**K THIS

-- 
---
Børge
Kennel Arivene 
http://www.arivene.net
---

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request of php5

2007-01-03 Thread edwardspl
Richard Lynch wrote:

On Mon, January 1, 2007 12:40 am, [EMAIL PROTECTED] wrote:
  

Dear All,

Happy New Year,

How much mem ( Ram ) does the php5 need ?



Yes.

:-)

Depends on what extension you add, what you do with those extensions,
and what sort of performance you expect to get.

Depends if you run as a Module, as CGI, as Fast CGI, and if you are on
Windows, Linux, FreeBSD, or Other.

Probably a little more than PHP5, and not quite as much as PHP6.

Does that help at all?

I'd like to give a better answer, if you asked a better question.
:-)

  

I need php5 running with IMP ( Webmail - http://www.horde.org/imp ) and
may be phpBB...



Re: [PHP] Request of php5

2007-01-03 Thread Curt Zirzow

On 1/3/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Richard Lynch wrote:

On Mon, January 1, 2007 12:40 am, [EMAIL PROTECTED] wrote:

How much mem ( Ram ) does the php5 need ?
...



Depends on what extension you add, what you do with those extensions,
and what sort of performance you expect to get.

Depends if you run as a Module, as CGI, as Fast CGI, and if you are on
Windows, Linux, FreeBSD, or Other.

...



I need php5 running with IMP ( Webmail - http://www.horde.org/imp ) and
may be phpBB...




How much ram is required is rather futile, it is more on how many
requests per second your server can handle before you start even think
about ram.

Curt

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request of php5

2007-01-03 Thread edwardspl
Curt Zirzow wrote:

 On 1/3/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Richard Lynch wrote:

 On Mon, January 1, 2007 12:40 am, [EMAIL PROTECTED] wrote:

 How much mem ( Ram ) does the php5 need ?
 ...


 Depends on what extension you add, what you do with those extensions,
 and what sort of performance you expect to get.
 
 Depends if you run as a Module, as CGI, as Fast CGI, and if you are on
 Windows, Linux, FreeBSD, or Other.
 
 ...


 I need php5 running with IMP ( Webmail - http://www.horde.org/imp ) and
 may be phpBB...



 How much ram is required is rather futile, it is more on how many
 requests per second your server can handle before you start even think
 about ram.

 Curt

But actually, I want to know how muach mem ( ram ) does the new version
of php need ?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request of php5

2007-01-03 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-04 00:09:37 +0800:
 Curt Zirzow wrote:
  On 1/3/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Richard Lynch wrote:
  On Mon, January 1, 2007 12:40 am, [EMAIL PROTECTED] wrote:
 
  How much mem ( Ram ) does the php5 need ?
  ...
 
  Depends on what extension you add, what you do with those extensions,
  and what sort of performance you expect to get.
  
  Depends if you run as a Module, as CGI, as Fast CGI, and if you are on
  Windows, Linux, FreeBSD, or Other.
  
  ...
 
  I need php5 running with IMP ( Webmail - http://www.horde.org/imp ) and
  may be phpBB...
 
  How much ram is required is rather futile, it is more on how many
  requests per second your server can handle before you start even think
  about ram.

 But actually, I want to know how muach mem ( ram ) does the new version
 of php need ?

Excuse me, are you pulling our legs or do you have reading problems?
Several people have already told you that the memory footprint depends
on several factors, of which you specified NONE.

To satisfy your thirst for meaningless numbers, here's the CLI php 5.2.0
waiting for input on FreeBSD-6.1/amd64, with *unspecified number* of
*various* extensions:

USER  PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
roman   26242  0.0  1.0 58348 10608  pg  I+5:52PM   0:00.06 php

As you can see, PHP 5 takes 10MB. Did I mention that number is useless
for you? I just don't understand why you don't try it yourself.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request of php5

2007-01-02 Thread Richard Lynch
On Mon, January 1, 2007 12:40 am, [EMAIL PROTECTED] wrote:
 Dear All,

 Happy New Year,

 How much mem ( Ram ) does the php5 need ?

Yes.

:-)

Depends on what extension you add, what you do with those extensions,
and what sort of performance you expect to get.

Depends if you run as a Module, as CGI, as Fast CGI, and if you are on
Windows, Linux, FreeBSD, or Other.

Probably a little more than PHP5, and not quite as much as PHP6.

Does that help at all?

I'd like to give a better answer, if you asked a better question.
:-)

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request of php5

2007-01-01 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-01 14:40:14 +0800:
 Dear All,
 
 Happy New Year,
 
 How much mem ( Ram ) does the php5 need ?

As much as you make it use.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request of php5

2007-01-01 Thread edwardspl
Roman Neuhauser wrote:

# [EMAIL PROTECTED] / 2007-01-01 14:40:14 +0800:
  

Dear All,

Happy New Year,

How much mem ( Ram ) does the php5 need ?



As much as you make it use.

  

Sorry, pardon me !


Re: [PHP] Request for views on ASP/PHP/ASP.NET - please!

2006-02-22 Thread Wely E.R.

I'm waiting for the result.
It would be nice of you when you post it in this list.

Thanx.

From: Simon O'Beirne
On  Monday, February 20, 2006 11:58 PM
Wrote:


Hi guys,

A bit of an odd request.  I'm in my third and final year at university, 
and

part of an assignment requires obtaining developers' perspective on web
languages.

If anyone has done at least one of the languages in the subject title
(ASP/ASP.NET/PHP), I would be eternally grateful if you could pop to (and
also send any other web developers you know to)

http://www.coralsystemsolutions.co.uk/uni

Theres a maximum of 14 short questions (depending on answers to the other
questions), all optional, just fill out as much as you can be bothered 
with,

then click submit a few times until its saved.

Thank you very much in advance!

Simon


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Request to subscribe

2005-05-04 Thread Jay Blanchard
[snip]
 I M.V.Satyanarayana Reddy, working as a PHP Programmer requesting to
join this to share the PHP General.
[/snip]

Your wish is granted. http://www.php.net/mailinglists 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Request to subscribe

2005-05-04 Thread Ryan A

On 5/4/2005 5:10:17 PM, Jay Blanchard ([EMAIL PROTECTED])
wrote:
 [snip]

 I M.V.Satyanarayana Reddy, working as a PHP Programmer requesting to

 join this to share the PHP General.

 [/snip]



 Your wish is granted. http://www.php.net/mailinglists

Hehehehe...

God, my name is Ryan just compare syllibals!

But welcome to the list matebe sure we're gonna pull your leg a lot :-p

Cheers,
Ryan



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.4 - Release Date: 5/4/2005

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request for Help/Information

2004-08-04 Thread John Holmes
Andy Baldwin wrote:
Would someone be willing to suggest a solution to a coding problem?
 
After the following code (downloads a text file from the host server to
my PC), how can I redirect the script to another one?
 
   ?php
   $user_agent = strtolower($_SERVER[HTTP_USER_AGENT]);
   header(Content-type: application/force-download );
   if((is_integer(strpos($user_agent,msie))) 
(is_integer(strpos($user_agent,win {
  header(Content-Disposition: filename= . $filename);
   } else {
  header(Content-Disposition: attachment; filename= . $filename);
   }
   header(Content-Description: File Transfer);
   @readfile($filename);
?
 
I have tried without success:
  header(Location: Echo_UploadBatch.php?filename= . $filename);
You'll need to use a JavaScript or Refresh meta tag to do the 
redirection since you've already sent content by downloading the file. 
You won't be able to use a header() style redirection.

--
John Holmes
php|architect - The magazine for PHP professionals - http://www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Request for Help/Information

2004-08-04 Thread Justin Patrin
On Wed, 4 Aug 2004 09:04:33 -0500, Andy Baldwin [EMAIL PROTECTED] wrote:
 Would someone be willing to suggest a solution to a coding problem?
 
 After the following code (downloads a text file from the host server to
 my PC), how can I redirect the script to another one?
 
?php
$user_agent = strtolower($_SERVER[HTTP_USER_AGENT]);
header(Content-type: application/force-download );
if((is_integer(strpos($user_agent,msie))) 
 (is_integer(strpos($user_agent,win {
   header(Content-Disposition: filename= . $filename);
} else {
   header(Content-Disposition: attachment; filename= . $filename);
}
header(Content-Description: File Transfer);
@readfile($filename);
 ?
 
 I have tried without success:
   header(Location: Echo_UploadBatch.php?filename= . $filename);
 
 Any help would be appreciated!
 

Short answerL you can't. If you download a file from a script, you can
do only that, you can't output HTML, javascript, or any redirection
headers.

That being said, it *may* be possible to send a multipart response
with a file and redirection, but I'm not sure of this at all.

AFAIK, the browser shouldn't display a blank page when you download a
file as long as it's in an exising window. It should stay on the page
where you clicked the download link.

-- 
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder

paperCrane --Justin Patrin--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Request domain name

2004-02-25 Thread James Nunnerley
$_SERVER[HTTP_HOST] will get you the full domain name...

Nunners

-Original Message-
From: Age Bosma [mailto:[EMAIL PROTECTED] 
Sent: 25 February 2004 14:13
To: [EMAIL PROTECTED]
Subject: [PHP] Request domain name

I would like to be able to request the domain name.
How can this be achieved without hardcoding it?

$_SERVER['REQUEST_URI'] doesn't provide me the domain name, it just 
provides me /index.php?page=2000 instead of e.g. 
www.blaat.com/index.php?page=2000
I can't seem to find anything on the php site to get the domain name as 
well.

I prefer using absolute URI's.
The reason why this is a problem for me is besause I'm working on a site

which has two different URI's but both display the exact same site.

Cheers,

Age Bosma

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request form duplicate names

2003-12-19 Thread Frédéric HARDY
Try input type'checkbox' name='id[]' value='1'

So in your script :

$ids = $POST['name'];
$first_id = $POST['name'][0];

Best regards, Fred
===
Frederic HARDYEmail: [EMAIL PROTECTED]
HEXANET SARL  URL: http://www.hexanet.fr/
ZAC Les CharmillesTel: +33 (0)3 26 79 30 05
3, allée Thierry Sabine   Direct: +33 (0)3 26 61 77 84
BP 202 - 51686 REIMS CEDEX 2 FRANCE
===

- Original Message - 
From: Terence [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 19, 2003 10:41 AM
Subject: [PHP] Request form duplicate names


 
 Dear All,
 
 Is there a way to request form fields which have the same name using POST?
 
 I generate dynamic checkboxes all with the same name, but with different
 values
 
 input type'checkbox' name='id' value'1'
 input type'checkbox' name='id' value'7'
 input type'checkbox' name='id' value'78'
 etc
 
 I could alternatively do it through GET and split the querystring, but i'd
 prefer POST.
 
 Thanks
 Terence
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

Re: [PHP] Request form duplicate names

2003-12-19 Thread Justin French
On Friday, December 19, 2003, at 08:41  PM, Terence wrote:

Is there a way to request form fields which have the same name using 
POST?

I generate dynamic checkboxes all with the same name, but with 
different
values

input type'checkbox' name='id' value'1'
input type'checkbox' name='id' value'7'
input type'checkbox' name='id' value'78'
I think you change name='id' to name='id[]' -- but it's been so long 
since I've done anything with checkboxes that I'm not 100% sure.  Test 
test test.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Request form duplicate names

2003-12-19 Thread Wouter van Vliet
input type='checkbox' name='id[]' value='1'

:P

On vrijdag 19 december 2003 11:10 Frédéric HARDY told the butterflies:
 Try input type'checkbox' name='id[]' value='1'
 
 So in your script :
 
 $ids = $POST['name'];
 $first_id = $POST['name'][0];
 
 Best regards, Fred
 ===
 Frederic HARDYEmail: [EMAIL PROTECTED]
 HEXANET SARL  URL: http://www.hexanet.fr/
 ZAC Les CharmillesTel: +33 (0)3 26 79 30 05
 3, allée Thierry Sabine   Direct: +33 (0)3 26 61 77 84
 BP 202 - 51686 REIMS CEDEX 2 FRANCE
 ===
 
 - Original Message -
 From: Terence [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, December 19, 2003 10:41 AM
 Subject: [PHP] Request form duplicate names
 
 
  
  Dear All,
  
  Is there a way to request form fields which have the same name
  using POST? 
  
  I generate dynamic checkboxes all with the same name, but with
  different values 
  
  input type'checkbox' name='id' value'1'
  input type'checkbox' name='id' value'7'
  input type'checkbox' name='id' value'78'
  etc
  
  I could alternatively do it through GET and split the querystring,
  but i'd prefer POST. 
  
  Thanks
  Terence
  
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Request Network ID

2003-07-07 Thread Mark
Are you trying to find out who is currently logged on locally? Who
the webserver is running as? If you want to know who is logged in
locally, you can use whoami from the command line (or via exec,
passthru, or system). You can also check out
http://www.sysinternals.com for some neat comand line tools for
Win2k. 

--- Haitham A. Khaiyat [EMAIL PROTECTED] wrote:
 Hi, I need you help please.
 
  
 
 I am looking for a function can give the Network ID from LAN. For
 example, our LAN is based on Windows 2000.
 
  
 
 How can I get user network account. VB.NET has this built in
 function
 
 Request.ServerVariables(LOGON_USER)
 
  
 
 Can you help?:
 
  
 
 


=
Mark Weinstock
[EMAIL PROTECTED]
***
You can't demand something as a right unless you are willing to fight to death to 
defend everyone else's right to the same thing.
***

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] request

2003-05-30 Thread Weston Houghton
I would imagine that you have to add:
$random = gmp_strval($random);
In between the two lines to convert the resource to a string value.

Wes

On Thursday, May 29, 2003, at 04:24  PM, Marius wrote:

?
$random = gmp_random(10);
echo $random;
?
how to do that it echoes a random number and not a
Resource id #1,
--
 Marius
 [EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] request

2003-05-30 Thread Evan Nemerson
?php echo $random = gmp_intval(gmp_random(10)); ?


On Thursday 29 May 2003 01:24 pm, Marius wrote:
 ?
 $random = gmp_random(10);
 echo $random;
 ?
 how to do that it echoes a random number and not a
 Resource id #1,

-- 

Happy shall he be, that taketh and dasheth thy little ones against the stones.

-Psalms 137:9


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] request for help/advice (xml/php content management)

2002-12-04 Thread Justin French
Haven't you already posted this?

J


on 05/12/02 10:20 AM, Robert Samuel White ([EMAIL PROTECTED]) wrote:

 
 Hello, I am the creator of eNetwizard Content Management Server, an open
 source content management system using the LAMP suite.  I am getting
 ready for its first major release and have come across some problems
 that I need to address first...  I'm not really sure where to start this
 is such a *huge* project...
 
 Some preliminary information about the project can be found here:
 
 http://projects.enetwizard.net/cmserver.ehtml
 http://sourceforge.net/docman/display_doc.php?docid=12504group_id=59790
 
 Content is stored as XML in files within a matrix folder.  eNetwizard
 defines several scopes allowing templates and content to be generated on
 the fly in a scopeable manner.  For example, any website at
 enetwizard.net has the same look and feel because of the domain scope
 matrix file; I have made this file publicly accessible if you go here:
 
 http://www.enetwizard.net/matrix1.php
 
 Another scope is the page scope which is where the main content for a
 page is located, so for the default page at enetwizard.net, it looks
 like this file:
 
 http://www.enetwizard.net/matrix2.php
 
 This allows the server to automatically assemble and render content in a
 variety of formats as you can see here:
 
 http://www.enetwizard.net/default.exml   (as XML)
 http://www.enetwizard.net/default.ehtml  (as HTML)
 
 This is the main idea behind general content stored by the server --
 there are other ways of doing things that are even more advanced but
 they will not be discussed here.  In order for this to work, I created
 an xmldoc class that can assemble all of the files together and create
 the file accordingly.  It is then outputted via the server class.
 Examples of these files are here:
 
 http://www.enetwizard.net/xmldoc.php
 http://www.enetwizard.net/server.php
 
 
 Worth noting, the matrix files can contain PHP code, which is evaluated
 in the xmldoc class to create an actual XML document.  These two classes
 are in their elementary forms.  And they already have more issues than
 can be tolerated for such an advanced content management system.  First
 of all, I cannot use the  character anywhere because of the fact it is
 an XML file.  This creates a serious problem and must be addressed.
 Secondly, any errors that exist in a matrix file will effectively break
 the page.  This too is a major issue that muse be addressed, especially
 since it conflicts with the website wizard (which is responsible for
 managing existing and new content).
 
 I believe there must be a smarter way to do this and I would like any
 feedback one might have in this arena.  I believe using regex's might be
 a better solution, especially since some unique tags, such as a WIZARD
 tag must replace be replaced by the xmldoc class with the actual content
 of the wizard it is referencing, same scenario for the OBJECT tag
 (which are customizable web applications), etc.  At present this cannot
 work the way I have it set up.
 
 I cannot make a public release until this is fixed stably and fully
 productive.  I am looking for someone who can help me with this XML
 stuff, and other competent programmers who would like to volunteer for
 this project.  And I'm always interested in those who can translate both
 the localization files (eNetwizard supports any language) and the main
 network (enetwizard.net) into other languages.  Please contact me if you
 can help.  Thanks!
 
 If you have any questions, please feel free to ask them.
 
 Robert Samuel White
 eNetwizard Technical Services
 284 Walnut
 Highland, Michigan  48357
 +1 (248) 889-6363
 www.rswfire.com
 www.enetwizard.net
  
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

Justin French

http://Indent.com.au
Web Development  
Graphic Design



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] request what a user clicked

2002-08-30 Thread Steve Edberg

At 03:12 PM 8/30/02 , stu9820 wrote:
what is php's request object?
like in ASP - Request(variable)


Short answer:

 $_REQUEST['variable']
 (for PHP version = 4.1.0)

Long answer:

 http://www.php.net/manual/en/language.variables.external.php

-steve


Jeff
UWG Student
[EMAIL PROTECTED]


++
| Steve Edberg  [EMAIL PROTECTED] |
| Database/Programming/SysAdmin(530)754-9127 |
| University of California, Davis http://pgfsun.ucdavis.edu/ |
+-- Gort, Klaatu barada nikto! --+



RE: [PHP] request what a user clicked

2002-08-30 Thread stu9820

It's not coming from a form. will the form request still work?

= Original Message From Steve Edberg [EMAIL PROTECTED] =
At 03:12 PM 8/30/02 , stu9820 wrote:
what is php's request object?
like in ASP - Request(variable)


Short answer:

 $_REQUEST['variable']
 (for PHP version = 4.1.0)

Long answer:

 http://www.php.net/manual/en/language.variables.external.php

-steve


Jeff
UWG Student
[EMAIL PROTECTED]


++
| Steve Edberg  [EMAIL PROTECTED] |
| Database/Programming/SysAdmin(530)754-9127 |
| University of California, Davis http://pgfsun.ucdavis.edu/ |
+-- Gort, Klaatu barada nikto! --+

Jeff
UWG Student
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] request what a user clicked

2002-08-30 Thread Chris Shiflett

I'm not sure if you've gotten any responses to this, but you might try 
asking a question  that doesn't require knowledge of ASP. Though a lot 
of people do know both PHP and ASP, just about everyone reading this 
list at least knows PHP. Some of us are lucky enough to have never had 
to learn ASP. :-)

For example, what is ASP's request object, and what does it do? PHP 
has $_REQUEST, but is that what you want? I have no idea.

Happy hacking.

Chris

stu9820 wrote:

what is php's request object?  
like in ASP - Request(variable)

Jeff
UWG Student
[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] request object

2002-05-27 Thread John Holmes

It's called $HTTP_POST_VARS or $HTTP_GET_VARS, depending on the method
of your form. It's an array that holds all of the data that was send
through the form. In PHP 4.1+ you can use $_POST and $_GET. 

Use print_r($HTTP_POST_VARS) to see the contents of it in one of your
scripts.

---John Holmes...

 -Original Message-
 From: Jose Jeria [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 27, 2002 12:23 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] request object
 
 I have a page that creates form elements dynamically. Every time the
 amount
 of form elements is different.
 
 So to the page that I submit to I need to see how the whole request
 object.
 Is that possible?
 
 /Jose
 
 
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] request for comments

2002-04-03 Thread Tyler Longren

First thing I noticed:
Website looks VERY similar to www.php.net.

Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com

- Original Message - 
From: Lee Doolan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 03, 2002 7:11 PM
Subject: [PHP] request for comments


 
 
 the dynamic portion of the recently launched
 www.affero.com has been implemented with php /
 smarty / postgreSQL.  
 
 the source can be downloaded here:
 http://www.affero.org/source/latest.tar.gz
 
 i would not call this a 'distribution' by any
 stretch of the imagination.  for one thing, it will
 not work out of the box since no credit card
 processing code is included in the tarball.
 
 i would be curious about any remarks, positive or
 negative which anyone might have.
 
 -lee
 
 -- 
 Share your feedback at Affero:
 http://svcs.affero.net/rm.php?r=leed_25
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] request for comments

2002-04-03 Thread eric.coleman

I don't like it, it looks like you copied php.net
- Original Message - 
From: Tyler Longren [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Lee Doolan [EMAIL PROTECTED]
Sent: Wednesday, April 03, 2002 8:21 PM
Subject: Re: [PHP] request for comments


 First thing I noticed:
 Website looks VERY similar to www.php.net.
 
 Tyler Longren
 Captain Jack Communications
 [EMAIL PROTECTED]
 www.captainjack.com
 
 - Original Message - 
 From: Lee Doolan [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, April 03, 2002 7:11 PM
 Subject: [PHP] request for comments
 
 
  
  
  the dynamic portion of the recently launched
  www.affero.com has been implemented with php /
  smarty / postgreSQL.  
  
  the source can be downloaded here:
  http://www.affero.org/source/latest.tar.gz
  
  i would not call this a 'distribution' by any
  stretch of the imagination.  for one thing, it will
  not work out of the box since no credit card
  processing code is included in the tarball.
  
  i would be curious about any remarks, positive or
  negative which anyone might have.
  
  -lee
  
  -- 
  Share your feedback at Affero:
  http://svcs.affero.net/rm.php?r=leed_25
  
  -- 
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
  
  
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] request for comments

2002-04-03 Thread Justin French

Really, you could have picked a different colour scheme, let alone a
different layout... usually when people rip something off, they try to hide
it, but you've just ripped.

Pffft, you even used the exact same search button, form layout and
everything... why on earth did you ask THIS LIST to give you feedback???

It's okay to borrow ideas from many sites to develop your own solution, but
this is not web design.  Hire a designer if you need design... don't just
rip something off.

As far as the site *IDEA* goes... I like it.


I probably don't need to tell you this is definitely a breach of copyright
and/or intellectual property.  There have been some big name sites and
designers put to shame in court over this sort of thing.


IMHO, back to the drawing board, come up with your own solution, or sack the
designer, who really didn't design.


Justin French

Creative Director
http://Indent.com.au





on 04/04/02 1:14 PM, [EMAIL PROTECTED] ([EMAIL PROTECTED])
wrote:

 I don't like it, it looks like you copied php.net
 - Original Message -
 From: Tyler Longren [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; Lee Doolan [EMAIL PROTECTED]
 Sent: Wednesday, April 03, 2002 8:21 PM
 Subject: Re: [PHP] request for comments
 
 
 First thing I noticed:
 Website looks VERY similar to www.php.net.
 
 Tyler Longren
 Captain Jack Communications
 [EMAIL PROTECTED]
 www.captainjack.com
 
 - Original Message -
 From: Lee Doolan [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, April 03, 2002 7:11 PM
 Subject: [PHP] request for comments
 
 
 
 
 the dynamic portion of the recently launched
 www.affero.com has been implemented with php /
 smarty / postgreSQL.
 
 the source can be downloaded here:
 http://www.affero.org/source/latest.tar.gz
 
 i would not call this a 'distribution' by any
 stretch of the imagination.  for one thing, it will
 not work out of the box since no credit card
 processing code is included in the tarball.
 
 i would be curious about any remarks, positive or
 negative which anyone might have.
 
 -lee
 
 -- 
 Share your feedback at Affero:
 http://svcs.affero.net/rm.php?r=leed_25
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] request for comments

2002-04-03 Thread Dennis Moore

I assume you want comments on the functionality.   The first thing that
strikes me is why would I want to use the product.  I read the desciption
and followed the diagram on the home.  I then looked at the demo on
affero.net.  I quickly got lost on the purpose of the application and why I
should use it over a normal discussion list.  I missed the main point.



my 2 cents...



- Original Message -
From: Lee Doolan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 03, 2002 8:11 PM
Subject: [PHP] request for comments




 the dynamic portion of the recently launched
 www.affero.com has been implemented with php /
 smarty / postgreSQL.

 the source can be downloaded here:
 http://www.affero.org/source/latest.tar.gz

 i would not call this a 'distribution' by any
 stretch of the imagination.  for one thing, it will
 not work out of the box since no credit card
 processing code is included in the tarball.

 i would be curious about any remarks, positive or
 negative which anyone might have.

 -lee

 --
 Share your feedback at Affero:
 http://svcs.affero.net/rm.php?r=leed_25

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Request for Feedback - Unsigned Right Shift Operator

2002-04-01 Thread Rasmus Lerdorf

The other argument against adding  is that it is the heredoc operator.

-Rasmus

On 1 Apr 2002, Jason Greene wrote:


 Hello All,

 One of the features that I have been working on for PHP5/Zend Engine 2
 is better unsigned value support for the language. This involves the
 addition of a new operator, '' (Unsigned Right Shift). It works the
 same as a normal right shift operator, except that it does not hold the
 sign during the shift.

 Example:

 13131 == -1
 13131 == 1

 Everyone is in agreement on the new operator, however, a few of us have
 had a discussion over whether we should add an equivalent ''
 operator. The main reason for this would be that it would make the
 language more consistent. However, the argument against adding it is
 that it is not necessary because there is no technical difference
 between  and 


 Feedback anyone?

 Thanks,

 -Jason




 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] REQUEST QUESTION

2002-03-05 Thread Scott St. John

Call me silly, but I would just call the hidden values:

$order1 and $order2

Did I miss why they both must be called order?

On Tue, 5 Mar 2002, karthikeyan wrote:

 Hi Guys,
 
   I allready posted this question in detail but I believe I didn't explain it 
properly
 
   There are 2 hidden variable in my FORM
 
   1 order = 10 and 2 order=20
 
   I want to retrieve both the orders in the next page say somenamephp  How do i do 
that
 
   Regards,
 
 karthikeyan
 

-- 



-- 
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp




Re: [PHP] REQUEST QUESTION

2002-03-05 Thread William Lovaton

That is impossible.

If you want to store two values you will need two variables!

William.


El mar, 05-03-2002 a las 11:21, karthikeyan escribió:
 Hi Guys,
 
   I allready posted this question in detail but I believe I didn't explain it 
properly.
 
   There are 2 hidden variable in my FORM.
 
   1. order = 10 and 2. order=20
 
   I want to retrieve both the orders in the next page say somename.php.  How do i do 
that.
 
   Regards,
 
 karthikeyan.



_
Do You Yahoo!?
Get your free yahoo.com address at http://mail.yahoo.com


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] REQUEST QUESTION

2002-03-05 Thread Erik Price


On Tuesday, March 5, 2002, at 11:21  AM, karthikeyan wrote:

   I allready posted this question in detail but I believe I didn't
 explain it properly.

   There are 2 hidden variable in my FORM.

   1. order = 10 and 2. order=20

   I want to retrieve both the orders in the next page say somename.php.
 How do i do that.


First tell us how you can tell the two variables apart.



Erik




Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php