[PHP] Function - Sending URL's

2001-01-11 Thread Abe
around this - The example is simpler than what I am actually doing and the value of $company must come from the variable. Thanks, Abe ? function testPassVar($url) { $name = "TEST"; echo "a href=\"$url\"Click/a"; } $url = 'asdfasdf.php3?name=$company'; testPassVa

[PHP] Levels of Access

2001-01-17 Thread Abe
Hey Guys, I wonder if anyone can shed light... I have a system that internal users access - I have separated access levels into 1, 2, 3 etc. So if you have access 1 you can view certain things - If you are 2 then you can view more or other things. However the problem arises when someone in

Re: [PHP] authentication

2001-08-27 Thread abe
Hi Wilbert, what I have done in the past (probably not the best way) is to stick a function call in the top of all pages in that directory which calls a function that checks for a cookie to see that the person viewing has actually logged in. I hope that helps. Abe On Mon, 27 Aug 2001, Wilbert

[PHP] Saturday Work in London

2001-01-11 Thread Abe Asghar
Hey there, Just a quick enquiry - is anyone available to work Saturdays with PHP. It is important that this person is available to work in London not remotely. Sorry if this is not appropriate for this list... Please email me off the list. Thanks -- PHP General Mailing List

[PHP] - functions returning multiple values: -

2001-01-22 Thread Abe Asghar
Hey there, is there a way that you can get a function to return multiple values. e.g.: {and also how to access them} function VarTest() { return $var = 10; return $var2 = 20; } Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

PHP version?

2001-06-18 Thread Abe Asghar
Hi Guys, I wonder if you can help. One of our servers has migrated to php V 4.05 from V 4.04. Unfortunately part of the site that accesses a MySQL database no longer functions. I have checked pretty much everything and it seems OK. Is there any changes in the version which could be causing

[PHP] ? -- File Total -- ?

2001-02-19 Thread Abe Asghar
Hi, I am trying to get a total value of orders from a file. The file has various fields separated by '|'. It is the 15th field I am trying to total. At the moment I am trying to search each character but it times out as the file is quite large - is there a more efficient way of doing this.

[PHP] SEARCH ?

2001-02-22 Thread Abe Asghar
Hi there, I am implementing a search function on a site that we are working on. We have created a script that will search through the contents of a page and looks for matches etc. It works well but will get slow on a large site. Does anybody know a tutorial or info on how to create an