RE: [PHP] Looking for a forum

2002-09-26 Thread Michael Egan
There are a huge number of forums at php.resourceindex.com These range from fairly basic forums such as venomboard to more complex forums such as phpbb Michael Egan -Original Message- From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]] Sent: 26 September 2002 06:26 To: [EMAIL PROTE

[PHP] cookie

2002-09-26 Thread Meltem Demirkus
hi, can anybody help me with cookies..I read the manual of php but it came complicated..Any basic tutorial or other something helps alot..I am trying to make a cookie to kkep the user id in it... thanks meltem -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

[PHP] Extreme Sports

2002-09-26 Thread Michael Egan
This probably breaks the rules of the forum in that it's not really a PHP question but I thought it might cause some amusement. I heard a discussion on the radio last night which mentioned the new 'sport' of extreme ironing! Sure enough they've got a web site at www.extremeironing.com It's no

[PHP] Re: cookie

2002-09-26 Thread Bsantos PHP
Why don't you keep you mind ahead and use session auth bsantos "Meltem Demirkus" <[EMAIL PROTECTED]> wrote in message 001701c26532$ba7c8c90$5583@hiborya">news:001701c26532$ba7c8c90$5583@hiborya... > hi, > can anybody help me with cookies..I read the manual of php but it came > complicat

[PHP] local resource variables

2002-09-26 Thread lallous
Hello, I was wondering if i do: function test() { $result = mysql_query("SELECT * FROM bigbigtable"); } after calling test() will $result be freed as if calling mysql_free_result()? Elias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

[PHP] Re: Example script : Employee schedule

2002-09-26 Thread lallous
look for an application called: TimeWebSheet Elias, "Faisal Abdullah" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi people. > Does anyone happen to know whether there is a sample script/application out > there which can tell me (and everyone else in the

[PHP] Re: XSLT and PHP

2002-09-26 Thread Alexandru COSTIN
Hello, As far as I've seen from your requirements, you are searching for a platform like Krysalis is. Krysalis does exactly this, allows you to define a sitemap to associate XSL presentation files to dynamic XML files, in a Model-View-Controller approach. http://www.interakt.ro/products/ Al

[PHP] Template based generated website project.

2002-09-26 Thread Tony Burgess
Hi All, I'm really just looking for some advice! I am looking to build a website which users will be able to logon and have a template based website generated for them, the output will have to be HTML so that these sites can be indexed by search engines, it will also have to change Apache conf f

[PHP] shouldn't $_SERVER['PHP_SELF'] include the get info?

2002-09-26 Thread Noodle Snacks
I was using a redirect using $_SERVER['PHP_SELF'] from the previous page (a login for a site) and it didn't include this from the url: ?aid=12. shouldn't it? It caused a SQL error. (which I have included a catch for so the error will be friendly) instead of the variable to be: /co2_busters_mk2/f

[PHP] Re: shouldn't $_SERVER['PHP_SELF'] include the get info?

2002-09-26 Thread Erwin
Noodle Snacks wrote: > I was using a redirect using $_SERVER['PHP_SELF'] from the previous > page (a login for a site) and it didn't include this from the url: ?aid=12. > > shouldn't it? It caused a SQL error. (which I have included a catch > for so the error will be friendly) > > instead of the v

[PHP] Including variables

2002-09-26 Thread Matt Browne
Morning! I'm having quite a dumb problem with PHP... It's probably more a result of brain freeze than anything else, but if anyone could help it'd be very much appreciated. Basically, I need to include() the contents of a variable. Saving the contents to a temporary file and then using include()

[PHP] Tar Files and send back to browser

2002-09-26 Thread Sascha Braun
Hi, I want to make some people download files the server tar's on demand. But i don't know really how to send the files back to the browser. I used the following command for taring the file: This command starts taring, I think, but fills the browser window with the pure code of the tar file

[PHP] Re: Including variables

2002-09-26 Thread Erwin
> I'm having quite a dumb problem with PHP... It's probably more a > result > of brain freeze than anything else, but if anyone could help it'd be > very much appreciated. > > Basically, I need to include() the contents of a variable. Saving the > contents to a temporary file and then using includ

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

2002-09-26 Thread Erwin
Sascha Braun wrote: > Hi, > > I want to make some people download files the server tar's on demand. > > But i don't know really how to send the files back to the browser. > > I used the following command for taring the file: > > $command = 'tar -c '.$arrResult['name'].'.tgz > ../images/'.$arrResu

[PHP] Re: shouldn't $_SERVER['PHP_SELF'] include the get info?

2002-09-26 Thread Noodle Snacks
"Erwin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Noodle Snacks wrote: [snipped] > > It is supposed to be like that...the PHP_SELF points to this file, and the > filename has no arguments, thus the PHP_SELF variable don't have them > either. > > You wil

[PHP] Finding out when a Web page has changed

2002-09-26 Thread Vikram Vaswani
Hi all, 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 thinki

[PHP] Re: shouldn't $_SERVER['PHP_SELF'] include the get info?

2002-09-26 Thread Erwin
Noodle Snacks wrote: > "Erwin" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> Noodle Snacks wrote: > > [snipped] > >> >> It is supposed to be like that...the PHP_SELF points to this file, >> and the filename has no arguments, thus the PHP_SELF variable don't

[PHP] Re: shouldn't $_SERVER['PHP_SELF'] include the get info?

2002-09-26 Thread Noodle Snacks
"Erwin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Noodle Snacks wrote: > > "Erwin" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >> Noodle Snacks wrote: > > > > [snipped] > > > >> > >> It is supposed to be like th

Re: [PHP] Looking for a forum

2002-09-26 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, http://www.ibforums.com/ ~Pauly On Thursday 26 September 2002 01:26 am, 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 som

[PHP] Help with PHP and HTML

2002-09-26 Thread Ken
I have a HTML form that has a session variable called $cost. Now I want to set the value to this table data input field. Anyone know how this is accomplished? Thanks in advance! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PEAR or not PEAR

2002-09-26 Thread Manuel Lemos
Hello, On 09/26/2002 02:11 AM, Rasmus Lerdorf wrote: > No DB abstraction layer, including MetaBase offers true database > abstraction. No layer will make stored procedures portable. No layer Not that you know, of course. > will make your fancy Oracle DECODE() query portable. No layer will >

RE: [PHP] Help with PHP and HTML

2002-09-26 Thread Jay Blanchard
[snip] I have a HTML form that has a session variable called $cost. Now I want to set the value to this table data input field. Anyone know how this is accomplished? [/snip] Ken, You question is not too clear, but I will try to help. You want the form element to reflect the value of $cost?

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

2002-09-26 Thread lallous
I was about to tell you to use Last-Modified Header! ;) Well then...try to fetch the page's size and compare with last time, if changes then regrab the page. Elias, "Vikram Vaswani" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I need to write an

Re: [PHP] Help with PHP and HTML

2002-09-26 Thread skitum
hey folks, don't forget quotes ;o) I use one like this: and it works ok. Peace & Love skitum - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "'Ken'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, September 26, 2002 1:46 PM Subject: RE: [PHP] Help with PH

Re: [PHP] Owner

2002-09-26 Thread Justin French
Why can't you post to the newsgroup with [EMAIL PROTECTED] (not that i've tried) Justin on 26/09/02 4:38 PM, John Taylor-Johnston ([EMAIL PROTECTED]) wrote: > Justin, > >> Best advice is to post strictly to the newsgroup with a dud email address, > > Unfortunately, that doesn't work. I

[PHP] Very easy question

2002-09-26 Thread Neil Laker
Have installed PHP v4 on IIS 5 server, all the connectivity works fine as for the sending but the main text variables will not come through. I think there must be a setting I have missed somewhere? I have checked the permissions and are set ok for the IGA can anyone help? Thanks in advance --

Re: [PHP] where's waldo

2002-09-26 Thread Joshua E Minnie
You could always use the GD image library to create an image and use javascript to send back the coordinates of the mouse click. From the mouse click, the javascript variables would be sent back to the server to interpret and check for correctness. This way they can't look at the code to find wh

Re: [PHP] Very easy question

2002-09-26 Thread Justin French
Do you mean when POSTing a form? Justin French on 26/09/02 10:14 PM, Neil Laker ([EMAIL PROTECTED]) wrote: > Have installed PHP v4 on IIS 5 server, all the connectivity works fine as > for the sending but the main text variables will not come through. I think > there must be a setting I have

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

2002-09-26 Thread Sascha Braun
Now I tried to use your script: $_REQUEST['image'] is = '../images/2002/09/jpg/ls006022_pettersson_johan.jpg'; It opens the download dialog again and lets me download the archive, but it's named download.gz (How can I change it to ls006022_pettersson_johan.gz?) And if I open it with winrar it

Re: [PHP] Encrypt data...

2002-09-26 Thread Scott Fletcher
Aww! Neat! That look better than the one I came up with. Thanks for your time on this one. Thanks, FletchSOD "Tom Rogers" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Thursday, September 26, 2002, 4:45:04 AM, you wrote: > SF> How do I encrypt t

Re: [PHP] Re: Including variables

2002-09-26 Thread Marek Kilimajer
Just dont forget that eval assumes php code, so escape from it first using ?> Erwin wrote: >>I'm having quite a dumb problem with PHP... It's probably more a >>result >>of brain freeze than anything else, but if anyone could help it'd be >>very much appreciated. >> >>Basically, I need to includ

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

2002-09-26 Thread John Holmes
You could cache/save the actual contents of the file, then when you read it next time, compare it to what you saved and see if it changed. You may want to filter out everything but what's between and , so you're not thinking it changed just b/c of something in the headers... ---John Holmes... >

Re: [PHP] Who is online script example

2002-09-26 Thread Marek Kilimajer
Look at phpnuke, or any other website management project Research and Development wrote: > Hello. Has anyone noticed that some sites can display a list of users > currently looking at their site? I would like to see the code to do > such things. > > Thanks in advance. > > -- PHP General Mai

Re: [PHP] Calling an external C function under Unix

2002-09-26 Thread Marek Kilimajer
Simply make your own php module. Anna Sotnichenko wrote: >Hello All! > >I want to transfer a PHP script with minimum changes from IIS under Win2000 >to Unix. My ISAPI PHP script calls some external C-functions through PHP >W32api extension. >Is there a way to call external C-function from PHP-sc

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

2002-09-26 Thread Erwin
> Now I tried to use your script: > > $_REQUEST['image'] is = > '../images/2002/09/jpg/ls006022_pettersson_johan.jpg'; > > Header('Content-Type: application/x-gzip'); > $command = 'tar -cf - ../images/' . $_REQUEST['image'] . ' | gzip - > cf'; system( $command ); > ?> > > It opens the download di

Re: [PHP] listing of directories into links

2002-09-26 Thread Marek Kilimajer
$d=opendir('/home/'); while($u=readdir($d)) { if($u!='.' && $u!='..' && (fileexists('/home/'.$u.'/public_html/index.html') || fileexists('/home/'.$u.'/public_html/index.php') ... more index files)) { echo ..link..; } } untested Bryan Koschmann - GKT wrote: >Hi, > >I need to do someth

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

2002-09-26 Thread Marek Kilimajer
Hope the sites have no banners :), they change all the time John Holmes wrote: >You could cache/save the actual contents of the file, then when you read >it next time, compare it to what you saved and see if it changed. You >may want to filter out everything but what's between and , >so you're

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

2002-09-26 Thread Erwin
Marek Kilimajer wrote: > Hope the sites have no banners :), they change all the time But the URL to the banners will be the same, so that's no change in the HTML code ;-)) > [SNIP] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with PHP and HTML

2002-09-26 Thread Marek Kilimajer
When we are at it let's don't forget htmlspecialchars skitum wrote: >hey folks, don't forget quotes ;o) > >readonly> > >I use one like this: >readonly> >and it works ok. > >Peace & Love >skitum > >- Original Message - >From: "Jay Blanchard" <[EMAIL PROTECTED]> >To: "'Ken'" <[EMAIL PR

Re: [PHP] Create Thumbnails from image

2002-09-26 Thread Julien Bonastre
Yeah sorry about that.. It happens where I just hit reply and forget to add the mail list address :-( Oops.. hehe --oOo---oOo-- Julien Bonastre [The_RadiX] The-Spectrum Network CEO [EMAIL PROTECTED] www.the-spectrum.org --oOo---oOo-- - Original Me

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

2002-09-26 Thread Sascha Braun
Seems to work not that bad, but I got another Question. Why isn't there anything in the archive? This is my code yet: I did put away the gzip routine couse I find it a little nerving if i always have to open two files ;) The source pictures size is 406 KB, the download is about 340 KB in si

RE: [PHP] Help with PHP and HTML

2002-09-26 Thread Jay Blanchard
[snip] When we are at it let's don't forget htmlspecialchars skitum wrote: >hey folks, don't forget quotes ;o) > >readonly> [/snip] Well now we have gone too far! :^] In the original post the variable was $cost. But let's not forget addslashes() or stripslashes(), unless, of course, magicquo

RE: [PHP] Re: Cronjob

2002-09-26 Thread Ford, Mike [LSS]
> -Original Message- > From: Daren Cotter [mailto:[EMAIL PROTECTED]] > Sent: 25 September 2002 20:11 I know your real problem has been solved, but this might save you from wasting time inspecting the wrong line of code one day: > There isn't even a line 3 in the script: Errr... 1

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

2002-09-26 Thread Erwin
Sascha Braun wrote: > Seems to work not that bad, but I got another Question. > > Why isn't there anything in the archive? It works in here (just tested it), I don't know why it's empty (don't stop reading here!!! :-) ) > > This is my code yet: > > Header('Content-Type: application/x-tar'); > H

Re: [PHP] Very easy question

2002-09-26 Thread Neil
Yes in Flash 5, basic variables for the input text fields and the correct script in the .php file, I just don't know what it could be at the moment. "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Do you mean when POSTing a form? > > Justin Fren

[PHP] ldap connection via SSL

2002-09-26 Thread Vazquez, Juan
Hi all, I am new here and I would be really happy if someone could have a look = on the following question: I have a question concerning a connection with a LDAP server via SSL. What I=B4ve found is: To use ldap_connect to connect via SSL to your LDAP server, you must use the following: ldap

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

2002-09-26 Thread Sascha Braun
Ok, somebody told me, the archive contains the Image, only winrar seems not to show the image, grrr. I tried the gzip method and it did not work that fine for me. > Sascha Braun wrote: > > Seems to work not that bad, but I got another Question. > > > > Why isn't there anything in the archive? >

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

2002-09-26 Thread Erwin
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 work that fine for me. Hmz...too bad, because you will get smaller downloads then (use

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

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] 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] 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] 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

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] 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] 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

[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

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

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] 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

[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] 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

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] 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] 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] 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] 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

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] 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] 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

[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] 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

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

[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

[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

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] 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] 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] 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

[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

[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] 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

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

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 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 -

[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

[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] 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

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] 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] 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] 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] 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] 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 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++;

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] 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] 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

[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

[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

  1   2   >