RE: [PHP] Finding out when a Web page has changed

2002-09-26 Thread Vikram Vaswani
Yup, thought of that one - but it just seems a little sub-optimal ;) Any way to do this without resorting to a brute-force "read the entire file stream over HTTP"? I can't think of one, so I guess I may do it this way after all - but if something occurs to you, or anyone else on the list, please

Re: [PHP] Finding out when a Web page has changed

2002-09-26 Thread Vikram Vaswani
>> I need to write an application that accepts a list of URLs and checks them >> on a daily basis (via cron) to see if the pages have changed in the past day. >> >> I need some help with this. Does anyone know the most optimal way to find >> out when a particular Web page has been modified? I am

Re: [PHP] parse html code

2002-09-26 Thread Khalid El-Kary
hi, you have two things to do here, first obtain the file, second get urls inside it ... about the first you can get the file so easily using the functions fopen, fread and fclose int fopen ( string filename, string mode [, int use_include_path [, resource zcontext]] ) //for example (this wi

Re: [PHP] length function

2002-09-26 Thread @ Edwin
Why, can't you just use strlen()? http://www.php.net/manual/en/function.strlen.php Or, am I missing something? - E "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >I am looking for a function that will give me the number of characters of a

[PHP] Re: length function

2002-09-26 Thread @ Edwin
Why, can't you just use strlen()? http://www.php.net/manual/en/function.strlen.php Or, am I missing something? - E "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am looking for a function that will give me the number of characters of a > s

[PHP] Re: length function

2002-09-26 Thread @ Edwin
Why, can't you just use strlen()? http://www.php.net/manual/en/function.strlen.php Or, am I missing something? - E "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am looking for a function that will give me the number of characters of a > s

[PHP] Re: length function

2002-09-26 Thread @ Edwin
Why, can't you just use strlen()? http://www.php.net/manual/en/function.strlen.php Or, am I missing something? - E "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am looking for a function that will give me the number of characters of a > s

[PHP] Date-problem?

2002-09-26 Thread Gustavus
Hi, I'm using ImpAkt2 (PHP4, MySql, Apache on W2K) I have update form (which has date-field). So now I have to enter date on format yy.mm.dd (ex. today 02.09.27), and in the database has then correct format -mm-dd. Ok! I have also listing-page, which has date-field (it format is dd.mm.yy

[PHP] parse html code

2002-09-26 Thread Rodrigo
I want to enter an url, get the html code, and obtain from this all the referenced urls. Anybody knows the way to do that? Bergus

[PHP] PHP & mysql configuration for windows

2002-09-26 Thread Uma Shankari T.
Hello, I have installed and mysql and configured php also..But in mysql it is not fetching the data's.In the mysql error file it is displaying an error message like InnoDB file path is not setup ...Can anyone please tell me in which place have to set the path..?? mysql is up .. Regards, U

[PHP] php on apache on win2k

2002-09-26 Thread Vic
I used to have php 4.2.3 on iis on 200 and xp and it worked fine, but I decided o now go with apache for open source's sake and the sake of my sanity. Well right now my sanity is in question, php tells me that I have to manually config the apache conf file - no prob here done this many times; but

Re: [PHP] Looking for a forum

2002-09-26 Thread Chip Wiegand
On Wed, 2002-09-25 at 22:26, John Taylor-Johnston wrote: > Hi, > I'm looking for some forum script, a bit like this: > http://www.chevelles.com/cgi-bin/forum/Ultimate.cgi > Can anyone post a link to something useful? > John I set up phpBB on my company web site. It was easy to set up and has all

[PHP] no $PATH_INFO by using URLs with "*.php/value" and not "*.php?value"

2002-09-26 Thread michael schoenboeck
hi, when i enter the URL www.domain.com/dir/file.php?value=1 the script work fine, but when i enter www.domain.com/dir/file.php/value/1 i become a 404 error. OS: Apache/2.0.40 (Win32) PHP/4.2.3 but on win2k pro with apache 1.3.20 & php4.0.6 i did not have this problem. php is loaded as module

RE: [PHP] length function

2002-09-26 Thread Smith, Benjamin
http://www.php.net/manual/en/function.strlen.php -Original Message- From: Jeff Bluemel [mailto:[EMAIL PROTECTED]] Sent: Friday, 27 September 2002 1:35 PM To: [EMAIL PROTECTED] Subject: [PHP] length function I am looking for a function that will give me the number of characters of a stri

[PHP] length function

2002-09-26 Thread Jeff Bluemel
I am looking for a function that will give me the number of characters of a string, or number. I tried using the function length, but that function seems to deal with arrays, and doesn't seem to function like I am intending it to. -- Thanks, Jeff Bluemel -- PHP General Mailing List (http:/

Re: [PHP] Getting started with PHP

2002-09-26 Thread Justin French
Install Apache, PHP and MySQL. See each site for more information (http://php.net/install, apache.org, mysql.com), and I'd advise using pre-compiled installer scripts, rather than compiling your own for the moment... all of the above are free. stick with all the default settings, and figure out

Re: [PHP] I don't want multiple form submitted

2002-09-26 Thread Justin French
In addition to the "middle-man" method listed by John (which I use on every form), I sometimes use this, which in most cases prevents people clicking back and hitting submit again (which may or may not be part of your problem): When you generate an instance of the form (blank), generate a random

Re: [PHP] Simple directory listing

2002-09-26 Thread Justin French
I'm certain you'll find something on phpclasses.org JF on 27/09/02 5:58 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > > I've been hunting all over to find a script that will just list a > directory. I don't need a full feature file system manager just something > I can list files and cho

Re: [PHP] Session

2002-09-26 Thread Justin French
Enable_trans_sid will put a psession key in the URL of the second (i think) page of the session, as a method of ensuring state... at that point it can assess if you need to keep using the URL (no cookies) or if the session state can be maintained through cookies (no URL). If you turn it off, sess

Re: [PHP] New Question...tables

2002-09-26 Thread Tom Rogers
Hi, Friday, September 27, 2002, 10:20:32 AM, you wrote: SM> Thanks to Micah Ive resolved my old problem, but now im working on something new and fairly gnarly...i ahve a data entry form and one of the textareas on the form needs to have the ability to SM> take a table...from users who dont know

Re: [PHP] Displaying full array contents

2002-09-26 Thread Justin French
It's a slightly different format, but print_r($array) recursively echo the contents of an array ina readable format? http://php.net/print_r Why reinvent the wheel, unless you need that specific format. HTH Justin on 27/09/02 3:50 AM, Brad Harriger ([EMAIL PROTECTED]) wrote: > I'm trying

Re: [PHP] mobile number

2002-09-26 Thread Justin French
Nah, I'd advise against this... doesn't that mean that every time a new provide pops up, that you have to modify the code? And trying to keep on top of worldwide providers would be a nightmare... there are maybe 10-15 providers in Australia alone... and one of them could drop off or another could

Re: [PHP] Displaying full array contents

2002-09-26 Thread Joshua Patterson
You could always use a for loop enbeded in a while loop to walk through a linked list. You could expand the list out as long as you have memory and this function would walk through it until it found the end. But the true questions is why would you want to when you can already dynamically

RE: [PHP] Help with Regular Expressions

2002-09-26 Thread John Holmes
> I need to filter out certain characters from being > stored in the database from our signup form. The > fields include first name, last name, street address, > city, zip, etc. > Question 1: What characters should be allowed, other > than lowercase, uppercase, digits, and the space > character?

[PHP] Help with Regular Expressions

2002-09-26 Thread Daren Cotter
I need to filter out certain characters from being stored in the database from our signup form. The fields include first name, last name, street address, city, zip, etc. Question 1: What characters should be allowed, other than lowercase, uppercase, digits, and the space character? Question 2: W

[PHP] New Question...tables

2002-09-26 Thread Shiloh Madsen
Thanks to Micah Ive resolved my old problem, but now im working on something new and fairly gnarly...i ahve a data entry form and one of the textareas on the form needs to have the ability to take a table...from users who dont know html. does anyone know any possible solutions to this dilemma?

Re: [PHP] Re: Echoing HTML in PHP as CGI

2002-09-26 Thread Reuben D. Budiardja
Thanks. This is what i was looking for. I remember reading something about this but just didn't remember where. Rdb. On Thursday September 26 2002 03:42 pm, Martin W Jørgensen wrote: > You can use this code: > > print <<< EndOfHTML > > put all html in here even with " > > EndOfHTML; > > This wi

Re: [PHP] Looking for some help on web header coding.

2002-09-26 Thread Joshua Patterson
I did. That is how I came a crossed the $HTTP_POST_VARS['username']; in my code. ( The tutorial for Flash MX to php can be found at http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php02.html ). If you look at my code and their code sample you will see that I have not made many chang

RE: [PHP] Keeping your published script safe?

2002-09-26 Thread Stephen Craton
I realize that, I just wanted to make it a little harder for them so they wouldn't even try. Thanks, Stephen http://www.melchior.us http://php.melchior.us :: -Original Message- :: From: Smith, Benjamin [mailto:[EMAIL PROTECTED]] :: Sent: Thursday, September 26, 2002 6:06 PM :: To: [EMAI

[PHP] ~off: Discovering what values start and finish x% of the records

2002-09-26 Thread Julio Nobrega
Hi All, I have Mysql records (timestamp) that represent when a document has shifted flows in a workflow system. Access to documents are restricted based on what flow the document currently is and what user group is trying to access it. User groups are a combination of usernames and actions

Re: [PHP] I don't want multiple form submitted

2002-09-26 Thread Bob Irwin
You could also do a simple data check against your database to make sure that the same information isn't posted by the same person in a certain time period. More complicated, but works well and doesn't rely on browser refresh or php headers - both of which can occasionally run into problems. Bes

RE: [PHP] I don't want multiple form submitted

2002-09-26 Thread John Holmes
> I have a message board written in PHP w/MySQL. > So when a person submitting a post, it goes to a list_view. > If this person refresh the list_view. > The message he submitted will get submitted again. > How can I avoid this problem? > Please let me know if you know the answer. Thanks This ques

RE: [PHP] REMOTE ADDR

2002-09-26 Thread John Holmes
> This is php code Yeah, you can tell by the fact that there is no Anderson O Muniz > > Jesse Cablek <[EMAIL PROTECTED]> escreveu nas notícias de > mensagem:001c01c2659b$9b3b3480$[EMAIL PROTECTED] > > Anderson O Muniz scribbled; > > > > > > > > > > > > > > >

RE: [PHP] Encrypted MySQL passwords

2002-09-26 Thread John Holmes
> BTW (and I have not checked the CVS/TODO, so I ask here), is > there planned support for SSL & MySQL 4.x.x in PHP?. Yes. More info in Chapter 4.3.9.1 of the MySQL manual. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Keeping your published script safe?

2002-09-26 Thread Smith, Benjamin
There's no real foolproof free way of doing this, it's a fact of life that there will always be people who do this. I wouldn't lose sleep over it. Console yourself with the fact that for every person who does not acknowledge your effort, there are probably 10 people who do. -Original Messa

RE: [PHP] Keeping your published script safe?

2002-09-26 Thread Stephen Craton
I would love to get Zend Encoder but I don't have anbout $1000 to spend on it... Any other ways? Thanks, Stephen http://www.melchior.us http://php.melchior.us :: -Original Message- :: From: David Buerer [mailto:[EMAIL PROTECTED]] :: Sent: Thursday, September 26, 2002 3:44 PM :: To: '[EM

[PHP] Update involving a list field

2002-09-26 Thread Shiloh Madsen
Hi, Im using a form that updates a database entry. In it one of my fields is a drop down/list field. Whenever the value in this field is changed, instead of updating it to the new item, it is deleted entirely. I have the same field in my entry page that inserts just fine, but for some reason t

Re: [PHP] Searchengine

2002-09-26 Thread jacob
Try having a look at the SOUNDEX() function (not sure how well this works for proper names). Have you look into string comparison functions (http://www.mysql.com/doc/en/String_comparison_functions.html)? You also might have better luck asking the mysql mailing list. (if you are looking for a m

Re: [PHP] Encrypted MySQL passwords

2002-09-26 Thread Rodolfo Gonzalez
On Thu, 26 Sep 2002, Brad Bonkoski wrote: > also might be better then sending it in the clear. But I guess that the original poster wanted to know how to avoid the clear text session originated by the client-server dialog itself, not the passwords in a query (its easy to log the sessions using t

[PHP] Searchengine

2002-09-26 Thread Sascha Braun
Hi again, when I was verifying my search funktions on my webpage, I came thinking of, how I will be able to build a search that would be able to find words which are spelled incorrect. I came to this point, 'cause I have a name in my Database called pettersson. Some people believe this guy is wr

RE: [PHP] Keeping your published script safe?

2002-09-26 Thread David Buerer
www.zend.com -Original Message- From: Stephen Craton [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 2:09 PM To: [EMAIL PROTECTED] Subject: [PHP] Keeping your published script safe? Hello, I have many scripts published at various script sites and I just got a report of a

[PHP] Keeping your published script safe?

2002-09-26 Thread Stephen Craton
Hello, I have many scripts published at various script sites and I just got a report of an incident where the user has removed my copyright at the bottom of the script. We have reached an agreement thank heavens, they're going to go search for a script that doesn't require the copyright. Anyway,

RE: [PHP] I don't want multiple form submitted

2002-09-26 Thread David Buerer
There is a header you can send which has a page expires time which will prevent the posting page from being reposted. Do some research on this and see what you can come up with. -Original Message- From: Clemson Chan [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 1:57 PM To

[PHP] I don't want multiple form submitted

2002-09-26 Thread Clemson Chan
I have a message board written in PHP w/MySQL. So when a person submitting a post, it goes to a list_view. If this person refresh the list_view. The message he submitted will get submitted again. How can I avoid this problem? Please let me know if you know the answer. Thanks --Clemson -- PHP Ge

Re: [PHP] REMOTE ADDR

2002-09-26 Thread Anderson O Muniz
This is php code Anderson O Muniz Jesse Cablek <[EMAIL PROTECTED]> escreveu nas notícias de mensagem:001c01c2659b$9b3b3480$[EMAIL PROTECTED] > Anderson O Muniz scribbled; > > > > > > > > > > > > > > > > > > Is that PHP code, or SSI? > > -jesse > --

RE: [PHP] REMOTE ADDR

2002-09-26 Thread Jesse Cablek
Anderson O Muniz scribbled; > > > > > > > > Is that PHP code, or SSI? -jesse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Displaying full array contents

2002-09-26 Thread debbie_dyer
Easier yes and ok for debug but it doesnt look very nice on a web page does it nor does it help if you want to do something with the array elements. Debbie - Original Message - From: "Martin W Jørgensen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 26, 2002 9:17

[PHP] REMOTE ADDR

2002-09-26 Thread Anderson O Muniz
Hello, I need help I never programmed in php. :/ I have a firewall with proxy. Now a put a webcam behind the firewall. If put the external_ip i see the cam, if i put the internal_ip i see the cam. Now i made a web page with code below Nova pagina 1 test">tes

[PHP] mySQL question

2002-09-26 Thread drparker
I'm just starting to use PHP with mySQL, and I have a few basic questions. I've successfully created a mySQL database on my local machine, was able to create tables and populate them (from the command line), query it with php from the browser, etc - no problems there. Now I need to create one on

Re: [PHP] Displaying full array contents

2002-09-26 Thread Martin W Jørgensen
print_r($array); simply print out the entire array.. It cant be easier. "Debbie_dyer" <[EMAIL PROTECTED]> wrote in message 01bf01c26598$1d84ec00$0100a8c0@homepc">news:01bf01c26598$1d84ec00$0100a8c0@homepc... > Use a static variable in the function? A static var retains its value > between functio

Re: [PHP] Simple directory listing

2002-09-26 Thread Kevin Stone
http://www.php.net/manual/en/function.opendir.php -Kevin - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 26, 2002 1:58 PM Subject: [PHP] Simple directory listing > > I've been hunting all over to find a script that will just list a > di

Re: [PHP] Session

2002-09-26 Thread debbie_dyer
PHP is automatically rewriting the URLs for the tags specified in url_rewriter.tags (php.ini) because the session cookie has not been accepted. I found it best to remove these tags and append the SID manually to the URLs that need it for when cookies are off - else SIDs can get appended where you

Re: [PHP] Encrypted MySQL passwords

2002-09-26 Thread Brad Bonkoski
There are common one-way encryption, like md5, this is commonly what I do, I encrypt with md5 when I insert the password into my database on the DB server, and then I encrypt with PHP on the Web server side, so therefore, I am only ever sending my md5 encrypted password over the "wire". Since it

Re: [PHP] Displaying full array contents

2002-09-26 Thread debbie_dyer
Use a static variable in the function? A static var retains its value between function calls function printArray($arr) { static $depth = 0; for ($i =0; $i < count($arr); $i++) { if (!is_array($arr[$i])) { echo "$depth $arr[$i]"; } else { $depth++;

[PHP] Simple directory listing

2002-09-26 Thread ed
I've been hunting all over to find a script that will just list a directory. I don't need a full feature file system manager just something I can list files and choose to delete a file if I wish. Where would I find this. TIA, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] Displaying full array contents

2002-09-26 Thread Brad Harriger
Debbie, Yes. I could use recursion, but what's really hanging me up is keeping track of how deep into an array I am. It should be fairly simple, but I seem to be having a brain freeze. Brad Debbie_dyer wrote: > You could use recursion example:- > > function printArray($arr) { > fo

[PHP] Re: Echoing HTML in PHP as CGI

2002-09-26 Thread Martin W Jørgensen
You can use this code: print <<< EndOfHTML put all html in here even with " EndOfHTML; This will print out all html. and dont care about special signs. goodluck. Martin "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, When using

Re: [PHP] Echoing HTML in PHP as CGI

2002-09-26 Thread 1LT John W. Holmes
The module and CGI will work the same. Just put your PHP where you need it within the HTML. ---John Holmes... - Original Message - From: "Reuben D. Budiardja" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 26, 2002 3:27 PM Subject: [PHP] Echoing HTML in PHP as CGI

[PHP] Echoing HTML in PHP as CGI

2002-09-26 Thread Reuben D. Budiardja
Hi all, When using Apache web server, with php module, I can intermix between HTML code and PHP. But when using PHP as CGI (in other web server, eg. OMNI), as far as I know, I have to write all HTML code using either echo or print statement, right? Is there a better way to do this? The proble

Re: [PHP] Displaying full array contents

2002-09-26 Thread debbie_dyer
You could use recursion example:- function printArray($arr) { for ($i =0; $i < count($arr); $i++) { if (!is_array($arr[$i])) { echo $arr[$i]; } else { printArray($arr[$i]); } } } $arr = array("Orange", "Peach", "Apple"); $arr2 = array("Banana"

[PHP] wrong date

2002-09-26 Thread Rodrigo Meurer
Hi! Someone knows why is this returning 1969-12-31 ??? $day = 13; $month = 10; $year = 2002; echo date("Y-m-d",mktime (0,0,0,$month,$day,$year)); And MySQL also does the same when I insert '2002-10-13' in a date field!!! ::: R o d r i g o M e u r e r [EMAIL PROTECTED] B a s e 5 1 - W

[PHP] Relative Paths and file_exists() - Solaris

2002-09-26 Thread James Nikolich
Hello; I'm using PHP 4.2.3 on a Solaris 2.8 (Sparc) system. I've been having some difficulties getting PHP-Nuke 6.0 to work for me. I eventually narrowed the problem down to incorrect results from calls to file_exists(). It seems that file_exists() is having trouble finding an existing file w

[PHP] Session

2002-09-26 Thread Bill Farrell
Hi all, Is there a really thorough tutorial on the use of session variables? Seems like there are a zillion options to choose from, lots of interdependent settings, etc, and I'm a bit confused on how to make it work. I try not to use session objects too much in any language as it makes the code

Re: [PHP] Looking for some help on web header coding.

2002-09-26 Thread Joshua Patterson
Thank you for your help it seems that Macromedia in there support document is a little confused about php or I need a new brain. (points to option number 2) the Macromedia document can be found at http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php02.html -

Re: [PHP] Looking for some help on web header coding.

2002-09-26 Thread Peter J. Schoenster
On 26 Sep 2002 at 10:35, Joshua Patterson wrote: > I have been working to try and have flash MX use PHP to access a > database but have been having issues with retrieving the post values in > php. > http://127.43.1.1/learning/checkpassword.php?password=somepassword&usern > am e= MyUserName > //

RE: [PHP] Looking for some help on web header coding.

2002-09-26 Thread David Buerer
go look at the tutorial for using php with flash to retrieve variables from a database. it's pretty self explanatory and clear in how/what to do. -Original Message- From: Joshua Patterson [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 10:35 AM To: 'PHP' Subject: [PHP] Looki

[PHP] Re: Displaying full array contents

2002-09-26 Thread Martin W Jørgensen
Yes. my idea is to use: echo ""; print_r($array); echo ""; "Brad Harriger" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm trying to write a function that will display the full contents of an > array. If one of the keys contains a value that is an array, t

[PHP] Displaying full array contents

2002-09-26 Thread Brad Harriger
I'm trying to write a function that will display the full contents of an array. If one of the keys contains a value that is an array, the full array (all indices) should be shown. As an example, given the following definitions: $Arr1[1] = "Apple"; $Arr1[2] = "Banana"; $Arr1[3] = $Arr2[]; $Arr

[PHP] Taking a Snapshot of Memory Usage

2002-09-26 Thread Robert James Kaes
Hi, Is there any way of taking a snapshot of the current memory usage of a script? I tried the getrusage() function, but the PHP version doesn't seem to support all the options of the systems getrusage() system call. What I would like to do is take a snapshot of the memory usage before and after

Re: [PHP] Owner

2002-09-26 Thread Paul Roberts
the list as replies asking you to confirm your email before allowing the post, this was brought in to stop people spamming the lists. so to post you need a subscribed email or a confirmed email. Paul Roberts - Original Message - From: "Justin French" <[EMAIL PR

[PHP] Looking for some help on web header coding.

2002-09-26 Thread Joshua Patterson
I have been working to try and have flash MX use PHP to access a database but have been having issues with retrieving the post values in php. http://127.43.1.1/learning/checkpassword.php?password=somepassword&username= MyUserName

[PHP] LocalHost won't show PHP files

2002-09-26 Thread Serbinski, Theodore S
Hi. I've scoured the net, posted tons of forum threads, tried everything. I simply cannot get this to work, yet it should be so simple. I recently had our Admin guy install PHP as a CGI-binary on a Unix system. Apache 1.3.2 is also installed. He didn't install PHP as a Apache module because the

RE: [PHP] Encrypted MySQL passwords

2002-09-26 Thread Adam Voigt
Maybe you could somehow setup your SSH tunnel before-hand (at server start up or something) and use that instead. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-09-26 at 12:40, John Holmes wrote: > > I am connecting to a mysql server on a remote machine, and opened up > port > > 3306 for this purpos

RE: [PHP] Encrypted MySQL passwords

2002-09-26 Thread John Holmes
> I am connecting to a mysql server on a remote machine, and opened up port > 3306 for this purpose. But, I am concerned about sending a clear text > password, via the mysql_pconnect() call. My question is, what is the > procedure for connecting to a remote server with an encrypted password? > Or

Re: [PHP] mobile number

2002-09-26 Thread Ryan A
Hey, > It used to be that 07xxx = vodafone ... and 07yyy = orange - but now it > could be anything. DAMN, that sounds bad, any fixed numbers in the UK atleast? My cousins number is +44 79320- so that could be any company right? I am not just trying to do the states, any location..trying

RE: [PHP] Finding out when a Web page has changed

2002-09-26 Thread John Holmes
Yeah, true. Maybe you could just ereg() out the content. Each url would need it's own ereg, though, so it won't be as easy to set up. But, technically, if the quote changes, then the page has been updated, even if it's dynamic. How do you define "updated"?? ---John Holmes... > -Original Mes

[PHP] mobile number

2002-09-26 Thread Ryan A
Hi guys, I am trying to make a script which will automatically put in the first 4-5 numbers of a mobile number depending on which mobile connection the user hasbut since i do not live in the states I would appreciate any help you can give me.. To call here from outside Stockholm,Sweden(my

Re: [PHP] Looking for a forum

2002-09-26 Thread Peter J. Schoenster
On 26 Sep 2002 at 1:26, John Taylor-Johnston wrote: > Hi, > I'm looking for some forum script, a bit like this: > http://www.chevelles.com/cgi-bin/forum/Ultimate.cgi > Can anyone post a link to something useful? I know a couple of webmasters who are using and like http://www.phpbb.com/ I've n

Re: [PHP] PHP POST arrar is dropping 4 characters - Bug Info

2002-09-26 Thread David Busby
List, Here's the bugs: http://bugs.php.net/bug.php?id=19460 http://bugs.php.net/bug.php?id=19554 It's related to mbstring, Apache 2.0.40 and PHP 4.2.3 you can get the latest snapshot or you can follow instructions below The issue was with the --enable-mbstr-enc-trans configure opt

RE: [PHP] remote files to servers

2002-09-26 Thread David Buerer
Of Course! You can use the fopen functions or curl functions depending on what and how you want to manage the data once you get it. Look at the manual in both of these sections and it will show you how to do it. BTW: What you are talking about doing is building a caching webserver. Apache can

RE: [PHP] hello everybody - date problem -

2002-09-26 Thread Ford, Mike [LSS]
> -Original Message- > From: Christoph Siefer [mailto:[EMAIL PROTECTED]] > Sent: 26 September 2002 16:16 > > I expecting > > > $timestamp = ($now - $five_minutes_ago); > print date(H:i:s, $timestamp); > > ?> > > to print something like "00:05:00". > > The two given timstamps, differ

[PHP] RE: Who is online script example

2002-09-26 Thread Sear, Mick
I have my own login system - which authenticates against a MySQL database and then uses sessions to keep track of logins. It registers a session variable for last access time, and logs access to pages in a separate table. Then I can do things like this: function currently_active_users(){

RE: [PHP] Getting started with PHP

2002-09-26 Thread Support @ Fourthrealm.com
Sauron, Since you're running Win2K, then you can use IIS already installed instead of Apache. I use Win2K Server, with IIS, PHP 4, and mySQL on my local box, and it works just fine. Peter At 10:55 AM 9/26/2002 -0400, Steve Bradwell wrote: >Welcome Steve, > >You'll need to do two things to g

[PHP] hello everybody - date problem -

2002-09-26 Thread Christoph Siefer
Hi everybody out there, my name is Christopher (loc:germany), and i'm new in here. My actual pain is: I expecting to print something like "00:05:00". The two given timstamps, differing (e.g.) five minutes, wich is 300 seconds, print this instead: "01:05:00". Whatever I try, the result alwa

Re: [PHP] remote files to servers

2002-09-26 Thread ed
While were on the subject what about retreiving a web page and images based on URL? Ed Curtis On Fri, 27 Sep 2002, Simon Angell wrote: > Hi all. > i was wondering if it is possible to use PHP to retrieve a remote file and > then write a copy to my own server for quicker access? > > -- > Che

[PHP] Parsing RDF files help needed?

2002-09-26 Thread Rus Foster
Hi All, I've been playing with parsing RDF/XML files using PHP (code snippet below). However I'm having trouble trying to work out how to actually format the results in an order. My source is in the form Politicizing Science http://slashdot.org/article.pl?sid=02/09/17/0349219 Now I could easi

[PHP] remote files to servers

2002-09-26 Thread Simon Angell
Hi all. i was wondering if it is possible to use PHP to retrieve a remote file and then write a copy to my own server for quicker access? -- Cheers - Simon Angell Canberra ACT www.canberra-wx.com -

[PHP] Encrypted MySQL passwords

2002-09-26 Thread Richard Fox
Hi, I am connecting to a mysql server on a remote machine, and opened up port 3306 for this purpose. But, I am concerned about sending a clear text password, via the mysql_pconnect() call. My question is, what is the procedure for connecting to a remote server with an encrypted password? Or,

RE: [PHP] Looking for a forum

2002-09-26 Thread Sear, Mick
I went through a load of forum systems recently that I found on www.hotscripts.com, but none of them had what I wanted - In the end, I used the bare-bones forum system in 'PHP & MySQL Web Development' by Welling and Thomson and added: - My own existing login system (I was integrating forums into

Re: [PHP] Getting started with PHP

2002-09-26 Thread Adam Williams
read the install section of the PHP manual at www.php.net and then read the tutorial. Adam On Wed, 25 Sep 2002, Sauron wrote: > Hi all > > I am brand new to PHP, I have a friend that develops in it and I'm > interested in learning more about it. I am familiar with VB at

RE: [PHP] Getting started with PHP

2002-09-26 Thread Steve Bradwell
Welcome Steve, You'll need to do two things to get started, download apache and php for windows, and configure 2 files - httpd.conf (apache), and php.ini. A good tutorial can be found here : http://softwaredev.earthweb.com/script/article/0,,12014_912381,00.html After that create a .php file in

[PHP] Getting started with PHP

2002-09-26 Thread Sauron
Hi all I am brand new to PHP, I have a friend that develops in it and I'm interested in learning more about it. I am familiar with VB at the moment and that's about it, but I'm always willing to learn!! What do I need to get developing using PHP? I want to develop completely on my machine rather

[PHP] RE: local resource variables

2002-09-26 Thread Tim Ward
to test this try returning $result from the function e.g. function test() { $result = mysql_query("SELECT * FROM bigbigtable"); return $result; } echo(mysql_numrows(test())) remember $result holds a number that is a pointer to the result set resource, it isn't the actual result data set, if

Re: [PHP] Re: Tar Files and send back to browser

2002-09-26 Thread Sascha Braun
IT'S WORKING, GOOD DAMN, IT'S WORKING! Yo, this was a really hard Job, if I look at the working snipped below! Ey man, this was the second Time you helped me out, Thanks alot. You are really a great PHP Guru I believe. So, if my page is finished you will be one of the first Persons to watch

php-general Digest 26 Sep 2002 14:24:04 -0000 Issue 1608

2002-09-26 Thread php-general-digest-help
php-general Digest 26 Sep 2002 14:24:04 - Issue 1608 Topics (messages 117665 through 117728): Re: replacing literal " in string 117665 by: Tom Rogers Re: Configure php for windows 117666 by: Uma Shankari T. 117668 by: Khalid El-Kary Example script : Employee schedu

Re: [PHP] Finding out when a Web page has changed

2002-09-26 Thread Justin French
Same with sites that have negligible daily changes (like today's date dynamically inserted), or random changes (a random quote, tip, stock quote, product, image, etc etc would all screw that up). Justin on 26/09/02 11:03 PM, Marek Kilimajer ([EMAIL PROTECTED]) wrote: > Hope the sites have no b

Re: [PHP] Very easy question

2002-09-26 Thread Justin French
I'd start by making sure you can get a standard HTML for to POST to a PHP script, rather than making issues complex with Flash. If that works, then you know it's not an issue with the installation, in theory. Justin on 26/09/02 11:30 PM, Neil ([EMAIL PROTECTED]) wrote: > Yes in Flash 5, basi

Re: [PHP] Explorer-like "drill down" interface

2002-09-26 Thread Bill Farrell
Y'know? I started fiddling with the drill-down I had made and found that the thing only worked on the latest Mozilla. Seems the developers made the same mistake I did in what is supposed to do. Looks great on one browser :-) I wound up with another alternative: a folder view with "wayback's"

Re: [PHP] Re: Tar Files and send back to browser

2002-09-26 Thread Erwin
Sascha Braun wrote: > Do you know how to exclude the path informations in the tar archive? Yes, first chdir to the ../images directory http://www.php.net/getcwd http://www.php.net/chdir Grtz Erwin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

Re: [PHP] Re: Tar Files and send back to browser

2002-09-26 Thread Sascha Braun
Do you know how to exclude the path informations in the tar archive? > Sascha Braun wrote: > > Ok, somebody told me, the archive contains the Image, only winrar > > seems not to show the image, grrr. > > ;-)) > That's why...i did see the image too! > > > I tried the gzip method and it did not wo

  1   2   >