[PHP] named anchors and query strings

2001-10-02 Thread Scott Mebberson
Hi Guys, How do you reference both a named anchor and a query string in a link? i.e. a href=page.php?location=01#bottomlink text/a I am not sure if this is even possible? thanks Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] getting values inside PHP from outside script

2001-08-27 Thread Scott Mebberson
=NABm=af=sl1d1t1c1ohgve=. csv))) /* Chris Lambert, CTO - [EMAIL PROTECTED] WhiteCrown Networks - More Than White Hats Web Application Security - www.whitecrown.net */ - Original Message - From: Scott Mebberson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 26, 2001 9:04 PM

[PHP] new socket() function in PHP which is 4.0.6

2001-08-27 Thread Scott Mebberson
Hi Guys, I am trying to setup a socket relay server. Has anyone tried this? Thanks Scott. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] getting values inside PHP from outside script

2001-08-26 Thread Scott Mebberson
Hi Guys, I want to write a script that retrieves quote prices off the ASX (Australian Stock Exchange) and then adds it to the database. I think the only way I can do this is by using the yahoo finance query. I need to know how I can call a string within my PHP script and then get the

[PHP] Array's in classes

2001-08-23 Thread Scott Mebberson
Hi Guys, I have written a class in which it uses the global command to get the value of a variable from outside of this class which I use within the class. I have recently changed this variable to an array and added 5 extra keys to this array. It is a string indexed array. In now seems as

[PHP] `pwd` - what does this mean?

2001-08-15 Thread Scott Mebberson
Hi Guys, I actually know what it means. Well, I think it means the current directory? Anyway... what exactly is it and where can I find some more information about it? I couldn't find much on php.net - also, is there any other ones(whatever it is) like this? Thanks. Scott. -- PHP General

[PHP] Re: `pwd` - what does this mean?

2001-08-15 Thread Scott Mebberson
I typed it on my server (SunOS 5.7) and it said, it returns the current working directory. So this is a unix command executed from PHP? Is there any other useful unix commands which can be executed from PHP? Does anybody have a list? Scott Mebberson [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] `pwd` - what does this mean?

2001-08-15 Thread Scott Mebberson
Thanks for your reply but what does this (man -k | grep (1)) do? Thanks Don Read [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On 15-Aug-2001 Scott Mebberson wrote: Hi Guys, I actually know what it means. Well, I think it means the current d

[PHP] I need everyones opinon!

2001-08-09 Thread Scott Mebberson
Hi Guys, When naming classes and function's within the class(and even functions(probably more so?)) do you use a common string infront of everything? For example HM_function_name() The reason I am asking is because what if you want to easily intergrate a class/function with lots of other

[PHP] writing updateable code

2001-05-13 Thread Scott Mebberson
Has anybody ever written some code for a product and want it to be able to update itself... and made it look for updates? Does anybody have some ideas or information on this? Thanks Scott. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] PHP scripts in HTML

2001-02-14 Thread Scott Mebberson
Hi Don, This wont work as PHP is a server side scripting language. So by the time your page gets displayed in a browser, php has already packed up and gone home. It has done it's job and exited your page. For your webserver to recognise php it must be incompessed in ?php ? tags, or ? ?. This is

[PHP] uploading files

2001-02-14 Thread Scott Mebberson
of the form set to "multipart/form-data". I am getting the location from a string that is open from a file. Is it still possbile? Also, is there anyway around this?? Thanks Scott Mebberson [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Structuring large PHP programs

2001-02-14 Thread Scott Mebberson
it to settings.inc and then it is inlcuded in everyfile that settings.inc is included in! Scott Mebberson Redblue Design "John McCreesh" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... What is the best practice for structuring a PHP program which is becoming t

Re: [PHP] Environment Variables ???

2001-02-14 Thread Scott Mebberson
The HTTP_IDENT env. variable was depreciated due to its limited use. REMOTE_USER does have a value if the user has been authenticated. If the authentication was successfull then the users name is stored in here. Use HTTP_REFERER if you want to know where the visitors were before they came to

Re: [PHP] email.. (check this one out!)

2001-02-14 Thread Scott Mebberson
Try to write some substr loop thats get the line and splits it up into 100 words then concenates all of the value you split with a \n in between ""FredrikAT"" [EMAIL PROTECTED] wrote in message 96eu04$uef$[EMAIL PROTECTED]">news:96eu04$uef$[EMAIL PROTECTED]... Hi! I want to send a email

Re: [PHP] uploading files with just a string c:\temp\whatever.txt

2001-02-14 Thread Scott Mebberson
Doesn't anybody know anything?? Even a nope it can't be done is a better response than nothing? Thanks guys ""Scott Mebberson"" [EMAIL PROTECTED] wrote in message 96fcni$kg$[EMAIL PROTECTED]">news:96fcni$kg$[EMAIL PROTECTED]... Hi Guys, Does anybody know how

Re: [PHP] uploading files with just a string c:\temp\whatever.txt

2001-02-14 Thread Scott Mebberson
with strings to files on people's hard drives, with no way of uploading?? Any ideas?? Thanks guys for helping out ""Scott Mebberson"" [EMAIL PROTECTED] wrote in message 96fcni$kg$[EMAIL PROTECTED]">news:96fcni$kg$[EMAIL PROTECTED]... Hi Guys, Does anybo

Re: [PHP] php vs perl

2001-02-14 Thread Scott Mebberson
When Jason says 'especially when your note using the cgi' he means the cgi version of PHP (I think) in preference to installing PHP as an apache module. ""Jason Brooke"" [EMAIL PROTECTED] wrote in message 04ad01c0970f$927eeff0$0100a8c0@jb">news:04ad01c0970f$927eeff0$0100a8c0@jb... Is there

[PHP] Reg. Exp. Help

2001-02-12 Thread Scott Mebberson
ake it only run once. Then if I want to loop and do it again. I want to do this so I can put the contents of the original * in src="*" into and array and access them later for uploading the files. Thanks Scott Mebberson [EMAIL PROTECTED] -- PHP General Mailing List (http://www.ph

Re: [PHP] Reg. Exp. Help

2001-02-12 Thread Scott Mebberson
is the answer but I have know idea on how to make the regular expression I am using perl comptaible. Here it is: $txt = ereg_replace("src=\"([^]+)\.(gif|jpg)\"", "src=\"http://www.ezigraphics.com/images/about_0001." . //2. "\"", $txt); Any ideas is

[PHP] Arrgghh, Regular Expressions?!?!

2001-02-11 Thread Scott Mebberson
one it is using, ie/ with align or without align. I need all of the values returned in an array. Does anybody think that they could help me out with this one. I know that it is pretty tricky but I am not that good with reg exp and I need some help. Anything is very much appreciated. Thanks Guys!

[PHP] installing PHP 4.0.4pl1 on Redhat 6.2

2001-02-08 Thread Scott Mebberson
Hi Guys, Can you install PHP 4.0.4pl1 on Redhat 6.2 - Also, apache will be installed and configured with the installation of Redhat 6.2 so is PHP 4.0.4pl1 still compatible with Redhat 6.2 and whatever version of Apache gets installed with it?? Does anybody know about MySQL aswell? Thanks Guys

[PHP] Can php listen to server ports

2001-01-29 Thread Scott Mebberson
Hi Guys, Can php listen to server ports to capture any data that is coming in? I am running linux and PHP so if there is anyother way to get the information into PHP. Anything you can offer will be a great help. Thanks Scott. -- PHP General Mailing List (http://www.php.net/) To