[PHP] variable passing using URL

2004-05-14 Thread gowthaman ramasamy
hello list, I have a problem in passing variables using URLs. I have a link from a PHP 'Page One' and passing some variables thru URL. This link should now open another page (main frame) which will have two frames in it (left frame and Right frame). But I want the variables to be passed on to

Re: [PHP] Error Passing Command in URL

2004-05-14 Thread Chris Shiflett
--- Dragon [EMAIL PROTECTED] wrote: If I/You try to open the Admin-Sektion ?open=admin Nothing happens, you will only reload the main view. Use $_GET['open']. It will work. Chris = Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming Fall 2004 HTTP Developer's

[PHP] tracking ip and its location

2004-05-14 Thread adwinwijaya
Hello PHP, Is there any function/class to search the location based on ip address ? For example, I got ip 144.xxx.xxx.xxx and it can displaying that IP comes from X country. thxs -- Best regards, adwin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] variable passing using URL

2004-05-14 Thread Steve Douville
Capture the variables you've sent to the main frame page and send them via the url of the frames. FRAME SRC=buttons.htm?pass=yourvariables Hope that helps. - Original Message - From: gowthaman ramasamy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 14, 2004 2:24 AM Subject:

Re: [PHP] export mysql to excel

2004-05-14 Thread Richard Harb
You could get yourself the mySQL ODBC driver and 'Get External Data' in Excel ... Richard -Original Message- From: CurlyBraces Technologies ( Pvt ) Ltd Sent: Friday, May 14, 2004, 7:18:17 AM hi , i want to export data in mysql to excel . but problem is mysql runs in the linux

[PHP] Best way to creat multilingual sites. With gettxt ?

2004-05-14 Thread Pete
Hi, I have been trying all sorts of techniques on our multilingual website. First I had include files german.inc.php with was just a huge list of varibales: $trans['thankyou']=Danke; //etc After that I put all into a database. Now someone told be about gettxt in some forum. He said that this

[PHP] tracking users

2004-05-14 Thread Alessandro Vitale
Hi all, I am currently running a web application which has an increasing number of users. The application uses PHP sessions. As administrator, I would like to know which users are currently logged in. Any brief suggestion or link to some good tutorial/paper would be very much appreciated. A.

Re: [PHP] export mysql to excel

2004-05-14 Thread Marek Kilimajer
CurlyBraces Technologies ( Pvt ) Ltd wrote: hi , i want to export data in mysql to excel . but problem is mysql runs in the linux machine , How can i get that data from mysql-Linux machine to windows-Excel machine , plz help asap thanx in advance curlys There are few classes that can create

[PHP] R: [PHP] variable passing using URL

2004-05-14 Thread Alessandro Vitale
in the html link you should set correctly the target window. Try using something like this: A HREF=www.mysite.com TARGET=main_windowgo to my site/A main_window is the name of the window as assigned in the frameset declaration. cheers, A. -Messaggio originale- Da: gowthaman ramasamy

Re: [PHP] MySQL backup

2004-05-14 Thread Dynamix
Try http://freshmeat.net/projects/phpmysqlbackupro/ Regards, Hatem - Original Message - From: Matthew Oatham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 13, 2004 7:30 PM Subject: [PHP] MySQL backup Hi, I am using MySQL database accessed via myphp admin - there is an

[PHP] Re: export mysql to excel

2004-05-14 Thread Torsten Roehr
Curlybraces Technologies Ltd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi , i want to export data in mysql to excel .. but problem is mysql runs in the linux machine , How can i get that data from mysql-Linux machine to windows-Excel machine , plz help asap thanx in advance

Re: [PHP] tracking users

2004-05-14 Thread Torsten Roehr
Alessandro Vitale [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I am currently running a web application which has an increasing number of users. The application uses PHP sessions. As administrator, I would like to know which users are currently logged in. Any brief

[PHP] Not sure

2004-05-14 Thread Brent Clark
Hi all I have the following php code: echotdnbsp;/tdtdinput type=\checkbox\ name=\frow\ value=\$var\/td\n; I now have the following javascript code: !-- From webmin-- a href='' onClick='document.frm.frow.checked = true; for(i=0; idocument.frm.frow.length; i++) { document.frm.frow[i].checked =

RE: [PHP] tracking ip and its location

2004-05-14 Thread Tom Chubb
Try: http://www.1phpstreet.com/vb/scripts/ShowCode.asp?txtCodeId=318lngWId=8 Regards, Tom -Original Message- From: adwinwijaya [mailto:[EMAIL PROTECTED] Sent: 14 May 2004 07:39 To: PHP Subject: [PHP] tracking ip and its location Hello PHP, Is there any function/class to search the

Re: [PHP] [Newbie Guide] For the benefit of new members

2004-05-14 Thread Christophe Chisogne
Ma Siva Kumar a écrit : For example: One of the repeatedly discussed question in the list is Best PHP editor. (...) try this link : http://phpeditors.linuxbackup.co.uk/ (contributed by Christophe Chisogne). The link has now moved (http redirect) http://www.thelinuxconsultancy.co.uk/phpeditors/

[PHP] Re: Reversing a string?

2004-05-14 Thread Mendle
?php $str = Hello World; echo strrev($str); ? http://ie2.php.net/strrev Regards Kristian Rasmussen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I need a script for reversing a string (hello world becomes dlrow olleh). I have tried the following: ---

RE: [PHP] Not sure

2004-05-14 Thread Ford, Mike [LSS]
On 14 May 2004 09:59, Brent Clark wrote: Hi all I have the following php code: echotdnbsp;/tdtdinput type=\checkbox\ name=\frow\ value=\$var\/td\n; I now have the following javascript code: !-- From webmin-- a href='' onClick='document.frm.frow.checked = true; for(i=0;

Re: [PHP] Not sure

2004-05-14 Thread Marek Kilimajer
Brent Clark wrote: Hi all I have the following php code: echotdnbsp;/tdtdinput type=\checkbox\ name=\frow\ value=\$var\/td\n; I now have the following javascript code: !-- From webmin-- a href='' onClick='document.frm.frow.checked = true; for(i=0; idocument.frm.frow.length; i++) {

[PHP] PHP Sockets

2004-05-14 Thread Tom Chubb
This may sound a bit cheeky, but I've spent most of today looking for some examples of sockets. I've managed to create a socket and it's connecting ok, but next I need to find a way of sending an ASCII string to the remote computer and echo-ing the results back to my screen. (Using a text box to

[PHP] breaking the string

2004-05-14 Thread gowthaman ramasamy
hello list, can we split a string into substrings of particular size. for example .. i have as sting of 1000 characters. can i split it into stings of 150 and feed them into an array. sorry i am bothering you guys again and again today sincerely gowtham -- Ra. Gowthaman, Graduate Student,

[PHP] Re: breaking the string

2004-05-14 Thread Torsten Roehr
Gowthaman Ramasamy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hello list, can we split a string into substrings of particular size. for example .. i have as sting of 1000 characters. can i split it into stings of 150 and feed them into an array. This should be EXACTLY what

RE: [PHP] Re: export mysql to excel

2004-05-14 Thread Jay Blanchard
[snip] i want to export data in mysql to excel .. but problem is mysql runs in the linux machine , How can i get that data from mysql-Linux machine to windows-Excel machine , plz help asap [/snip] There are several tutorials for retrieveing data from a database server to any other client

Re: [PHP] md5() with rand() || Strange results, need help....

2004-05-14 Thread CF High
It doesn't appear to be cookie settings either, nor auto-fill in. I do not have auto-complete running; when I log in under an affected users account, the stored md5($plain_password) does not match the submitted md5($plain_password). Could it be perhaps that md5() works differently with integers

[PHP] dynamically building insert/update forms from db

2004-05-14 Thread Edward Peloke
I was up late last night creating insert and update forms for tables in my db and knew there had to be a better way. I do have a class that will generate forms but I still have to create each input..i.e $forms-inputBox(), etc. I want to be able to pass in a table name and have a form returned to

Re: [PHP] Variables Help

2004-05-14 Thread John Nichel
Ford, Mike [LSS] wrote: On 13 May 2004 19:52, John Nichel wrote: Monty wrote: Is there any way to get JUST the user-defined variables in PHP? Problem with get_defined_vars() is that it contains everything, including server and environment vars, and there's no easy way to keep just the

Re: [PHP] Reversing a string?

2004-05-14 Thread Kim Steinhaug
hehe, Reading the manual is somewhat not so bad after all... -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't.

Re: [PHP] dynamically building insert/update forms from db

2004-05-14 Thread raditha dissanayake
Edward Peloke wrote: I was up late last night creating insert and update forms for tables in my db and knew there had to be a better way. I do have a class that will generate forms but I still have to create each input..i.e $forms-inputBox(), etc. I want to be able to pass in a table name and

Re: [PHP] dynamically building insert/update forms from db

2004-05-14 Thread Steve Douville
Why don't you have your script do a desc on the table you pass to it, parse the results, and populate the data needed for your form building class? - Original Message - From: Edward Peloke [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Friday, May 14, 2004 9:37 AM Subject:

RE: [PHP] dynamically building insert/update forms from db

2004-05-14 Thread Edward Peloke
desc? how would it know that I want the numeric in the db to be a menu item or yes, no on the form? Thanks, Eddie -Original Message- From: Steve Douville [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 10:26 AM To: Edward Peloke; Php-General Subject: Re: [PHP] dynamically building

Re: [PHP] dynamically building insert/update forms from db

2004-05-14 Thread Steve Douville
When you do a describe (desc tablename) it returns the type and length of the field in the database as part of the result set. You can parse that out and determine what kind of an input field to generate. - Original Message - From: Edward Peloke [EMAIL PROTECTED] To: Steve Douville

Re: [PHP] dynamically building insert/update forms from db

2004-05-14 Thread John W. Holmes
From: Edward Peloke [EMAIL PROTECTED] how would it know that I want the numeric in the db to be a menu item or yes, no on the form? How do you know whether you want it to be a menu item or yes, no? Now program the same logic into your function/class that handles creating your form... ---John

[PHP] Yahoo and PHP

2004-05-14 Thread Jonathan Villa
I was reading the following article http://www.linux.com/article.pl?sid=04/05/12/1327217 and it says Yahoo, of course, makes heavy use of MySQL, and not only do Yahoo developers code in PHP, they even hired PHP's creator, Rasmus Lerdorf. I was wondering if anyone had some information to

Re: [PHP] Yahoo and PHP

2004-05-14 Thread Matt Matijevich
[snip] how much more do they do with PHP? [/snip] I cant remember all of the details, but I think they are going to be (might already be) using it extensively. http://www.internetnews.com/dev-news/article.php/1491221 http://news.com.com/2100-1023-963937.html?tag=lh Do some googleing, you will

Re: [PHP] Why would a socket be unavailable?

2004-05-14 Thread René Fournier
On Thursday, May 13, 2004, at 08:05 PM, Vail, Warren wrote: Don't know if this will help, but can you confirm whether your while loop is failing on the first time through or a subsequent time through (perhaps by echoing something each time through)? No, it doesn't fail the first time. It runs

[PHP] Socket client can do one thing (loop), but not the other (loop, timeout, loop again)

2004-05-14 Thread René Fournier
Hello everyone, I really appreciate the suggestions so far with my socket client problem. Somebody suggested I repost the issue with the program flow and code, to clarify the situation (a good idea). So here it is: To sumarrize: My socket client runs fine when all it does is (1) wait for data

Re: [PHP] dynamically building insert/update forms from db

2004-05-14 Thread Chris Boget
generate forms but I still have to create each input..i.e $forms-inputBox(), etc. I want to be able to pass in a table name and have a form returned to me. How do other's handle this? My first thought is to have an xml file that maps the database columns to form elements such as text,

[PHP] Re: Calendar math .... how to count in week days....?

2004-05-14 Thread Anthony
The PEAR functions didn't seem to do what I was looking for. I built this function based on an idea given to me by Daryl Meese. After much trial and error, it actualy does what I need. My function is bassed on hours but you can easily change that. It will add or subtract days. - Anthony /*

Re: [PHP] dynamically building insert/update forms from db

2004-05-14 Thread Chris Boget
I believe there is a PEAR library package that does this. You might want to do some research to see if it fits your needs. Take a look at the following: http://pear.php.net/package/DB_DataObject_FormBuilder Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Best way to do Last 3 Items Viewed

2004-05-14 Thread Chuck Barnett
Anyone have any code snippits that would allow me to do a Last 3 Items Viewed like on ebay? Thanks, Chuck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Best way to do Last 3 Items Viewed

2004-05-14 Thread Torsten Roehr
Chuck Barnett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Anyone have any code snippits that would allow me to do a Last 3 Items Viewed like on ebay? Thanks, Chuck Why not mark your records with a timestamp at every view and then do a limited select sorted by the timestamp?

RE: [PHP] Best way to do Last 3 Items Viewed

2004-05-14 Thread Chris W. Parker
Chuck Barnett mailto:[EMAIL PROTECTED] on Friday, May 14, 2004 10:42 AM said: Anyone have any code snippits that would allow me to do a Last 3 Items Viewed like on ebay? no but i can give you a suggestion as to a method... each time someone views an item do a first-in-last-out rotation of

[PHP] php_module and cgi's

2004-05-14 Thread Don Dugger
I'm running FreeBSD 4.7 REL and Apache 1.3.28 and when I try to load the php4_module it brakes the CGI stuff. I start getting Premature end of script header error. Has anyone seen this. Don 8) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: dynamically building insert/update forms from db

2004-05-14 Thread Justin Patrin
Edward Peloke wrote: I was up late last night creating insert and update forms for tables in my db and knew there had to be a better way. I do have a class that will generate forms but I still have to create each input..i.e $forms-inputBox(), etc. I want to be able to pass in a table name and

Re: [PHP] dynamically building insert/update forms from db

2004-05-14 Thread Ben Ramsey
CB I believe there is a PEAR library package that does this. You might CB want to do some research to see if it fits your needs. Yes, there is. Check out PEAR::DB or PEAR::MDB which both have good classes for preparing INSERT and UPDATE statements, as well as for finding out information about

[PHP] Re: SuExec and PHP

2004-05-14 Thread Travis Low
I sent this a couple days ago and haven't heard a peep. Can anyone help me? Or, is there a better place I could be asking these questions? cheers, Travis Travis Low wrote: Greetings. We have a need for our PHP scripts to run as the user and group associated with each Apache virtual domain

[PHP] Breaks on socket_read

2004-05-14 Thread René Fournier
Can anyone suggest why this script (well, part of the script) fails on the while(($bug=socket_read... line after it successfully loops several times? (Of course, it is only after it timesout, but that is what I need it to do.) ---CODE-- $msg_recv = 3; $timeout =

[PHP] Template Engine

2004-05-14 Thread George Lantz
I was just wondering if anyone had any good advice or tutorials on building a simple template engine system. I am woking on a small project that I would like to distribute, and I would of course like to separate logic from html. I really just want to know the basics without caching. I am familiar

Re: [PHP] dynamically building insert/update forms from db

2004-05-14 Thread Justin Patrin
Ben Ramsey wrote: CB I believe there is a PEAR library package that does this. You might CB want to do some research to see if it fits your needs. Yes, there is. Check out PEAR::DB or PEAR::MDB which both have good classes for preparing INSERT and UPDATE statements, as well as for finding out

Re: [PHP] Template Engine

2004-05-14 Thread Robert Cummings
On Fri, 2004-05-14 at 16:13, George Lantz wrote: I was just wondering if anyone had any good advice or tutorials on building a simple template engine system. I am woking on a small project that I would like to distribute, and I would of course like to separate logic from html. I really just

[PHP] Session variables not working

2004-05-14 Thread Andrew Wood
I'm trying to set the following two vars on one page then read their values on another like this: page1.php... ob_start(); session_start(); $_SESSION['member_id'] = $member_id; $_SESSION['password'] = $password; ob_end_flush(); page2.php... ob_start(); session_start(); $member_id =

Re: [PHP] Session variables not working

2004-05-14 Thread John W. Holmes
- Original Message - From: Andrew Wood [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 14, 2004 4:48 PM Subject: [PHP] Session variables not working I'm trying to set the following two vars on one page then read their values on another like this: [snip] But on page2.php

Re: [PHP] Session variables not working

2004-05-14 Thread Andrew Wood
Using a cookie which is shown in my browser as PHPSESSID Yes they're on the same domain but no there's nothing being passed accross the URL. Should there be? AW On 14 May 2004, at 21:59, John W. Holmes wrote: - Original Message - From: Andrew Wood [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] Session variables not working

2004-05-14 Thread John W. Holmes
From: Andrew Wood [EMAIL PROTECTED] Using a cookie which is shown in my browser as PHPSESSID Yes they're on the same domain but no there's nothing being passed accross the URL. Should there be? No, not normally. How are you getting from page 1 to page 2? page1.php... ob_start();

Re: [PHP] Session variables not working

2004-05-14 Thread Brad Pauly
On Fri, 2004-05-14 at 14:48, Andrew Wood wrote: I'm trying to set the following two vars on one page then read their values on another like this: page1.php... ob_start(); session_start(); $_SESSION['member_id'] = $member_id; $_SESSION['password'] = $password; ob_end_flush();

Re: [PHP] Session variables not working

2004-05-14 Thread Andrew Wood
Either typing the URL directly or by using a hyperlink. On 14 May 2004, at 22:09, John W. Holmes wrote: From: Andrew Wood [EMAIL PROTECTED] Using a cookie which is shown in my browser as PHPSESSID Yes they're on the same domain but no there's nothing being passed accross the URL. Should there

[PHP] GD createpng and getting different png formats

2004-05-14 Thread Sam Joseph
Hi all, I've recently got the GD libraries set up and working with php and I have been resizing and reformating images to my hearts content. One thing I notice however is that when I output png images they seem by default to come out in the larger size PNG32 format, as opposed to the

[PHP] Looking For Easy To Use Shopping Cart

2004-05-14 Thread Ryan Schefke
Can anyone recommend a good open source shopping cart solution? I built an application for custom websites, now, I just need to interface to a shopping cart. I'm using mysql. Any suggestions? ...looking for something easy. Thanks, Ryan

[PHP] Missing data types?

2004-05-14 Thread René Fournier
I need to pack() data in PHP according to a typedef'ed C format structure, but there seems to be two problems (as per the docs: http://ca.php.net/manual/en/function.pack.php). First, in PHP there is no format option for long signed integers, big-endian byte order, just signed long (always 32

Re[2]: [PHP] tracking ip and its location

2004-05-14 Thread adwinwijaya
Hello Tom, Friday, May 14, 2004, 7:21:39 PM, you wrote: TC Try: TC http://www.1phpstreet.com/vb/scripts/ShowCode.asp?txtCodeId=318lngWId=8 TC Regards, TC Tom so, where i can download the list of countries and its ip address ? thx -- Best regards, adwin -- PHP General Mailing List

[PHP] Re: Looking For Easy To Use Shopping Cart

2004-05-14 Thread Justin Patrin
Ryan Schefke wrote: Can anyone recommend a good open source shopping cart solution? I built an application for custom websites, now, I just need to interface to a shopping cart. I'm using mysql. Any suggestions? ...looking for something easy. Thanks, Ryan Well... Do you mean that you've

Re: [PHP] GD createpng and getting different png formats

2004-05-14 Thread Galen
IIRC, the goal of PNG is lossless output and it outputs that exactly with PHP. What you send is what you get out. When you're using GD, I suggest you make an 8 bit GD image resource, then make that into PNG. There are several functions dealing with converting bit depth and such, poke around

RE: [PHP] Re: Looking For Easy To Use Shopping Cart

2004-05-14 Thread Dan McCullough
There are several tutorials that are just the cart, probably some minimal code typing and fixing for your needs. MyMarket found on SourceForge is one. There was one on Monkey Junkies. FreeTrade is good. dan mccullough sr. engineer url: heathermccullough.com tf: 866.298.3991 w: 603.444.9808

Re: [PHP] GD createpng and getting different png formats

2004-05-14 Thread Sam Joseph
Hi Galen, Many thanks for your reply. I tried to find things in the php manual relating to bit depth, but I didn't find anything relevant: http://www.google.co.jp/search?sourceid=navclienthl=jaie=UTF-8oe=UTF-8q=site:www%2Ephp%2Enet+bit+depth I haven't read every single one of the image

RE: [PHP] Re: Looking For Easy To Use Shopping Cart

2004-05-14 Thread Ryan Schefke
I want my customer to be able to select a few options via radio buttons (12 months or 24 months - how many photos in their photo album, etc) that impact the price. Then, I want the customer to click a checkout link that takes them directly to a form to input billing address and credit card

Re: [PHP] Re: Looking For Easy To Use Shopping Cart

2004-05-14 Thread Justin Patrin
Ryan Schefke wrote: I want my customer to be able to select a few options via radio buttons (12 months or 24 months - how many photos in their photo album, etc) that impact the price. Then, I want the customer to click a checkout link that takes them directly to a form to input billing address

[PHP] How to duplicate this functionality?

2004-05-14 Thread Ryan A
Hi, I just visited a popular swedish based site that is mostly powered via ASP, they have one little piece of functionality this is really puzzling me and I would like to add it to one of my working apps (a shopping cart)... Its a bit hard to explain so will give you the steps so you can go to

RE: [PHP] Re: Looking For Easy To Use Shopping Cart

2004-05-14 Thread Dan McCullough
That's very simple. If you don't mind writing a bit of specific code you could do it in about an hour, there are many snippets of code for payment processors that you could use. Try Hotscripts.com. dan mccullough sr. engineer url: heathermccullough.com tf: 866.298.3991 w: 603.444.9808

RE: [PHP] Re: Looking For Easy To Use Shopping Cart

2004-05-14 Thread Dan McCullough
http://tutorialized.com/tutorials/PHP/E-Commerce/tutorial/Roll-Out-Your-Cart /619 very very simple. The problem with most e-commerce carts out there is that they come with more then just the cart piece, they have all the product and ancillary pages and you have to weed through their design.

Re: [PHP] GD createpng and getting different png formats

2004-05-14 Thread Galen
Sam, OK, sorry, I only had a few moments before. Let's see if this points you in the right direction. Basically, you can have standard 8-bit images (color) and then true color images (24 bit). When you create the GD image resource, you use a function to do that. One such function is

Re: [PHP] How to duplicate this functionality?

2004-05-14 Thread Robert Cummings
On Fri, 2004-05-14 at 21:23, Ryan A wrote: Hi, I just visited a popular swedish based site that is mostly powered via ASP, they have one little piece of functionality this is really puzzling me and I would like to add it to one of my working apps (a shopping cart)... Its a bit hard to

Re: [PHP] How to duplicate this functionality?

2004-05-14 Thread Ryan A
Hey Rob snip In linux under Netscape 7 and Opera 7.2 it reloaded the page :/ That said looking at the URL when the mouse is over the link: http://www.blocket.se/new?caller=ogl_sl=0rm_id=2595475city=0 The rm_id is being set as a GET variable with an appropriate ID to remove the entry. So

Re: [PHP] GD createpng and getting different png formats

2004-05-14 Thread Sam Joseph
Hi Galen, Thanks for that - all sorted now. I had looked at imagetruecolortopalette, but had not taken it on board. I'm now using it as follows to get a balance between image quality and file size (for png output): imagetruecolortopalette ( $myImage, true, 64); It's just remarkable how

RE: [PHP] How to duplicate this functionality?

2004-05-14 Thread Will Collins
It's fairly simple: at the top of your script, have a block of code similar to the following, and have the link point to -- $_SERVER['PHP_SELF'].?rm_id=.$id_to_be_deleted -- I'll leave out all but the essential elements. code ?php if (isset($_GET['rm_id'])) { $query = REMOVE FROM

Re: [PHP] How to duplicate this functionality?

2004-05-14 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): Hey Rob snip In linux under Netscape 7 and Opera 7.2 it reloaded the page :/ That said looking at the URL when the mouse is over the link: http://www.blocket.se/new?caller=ogl_sl=0rm_id=2595475city=0 The rm_id is being set as a GET variable

[PHP] Re: php-general Digest 14 May 2004 22:05:59 -0000 Issue 2763

2004-05-14 Thread Graeme Foster
How are you restarting the socket? From memory you can't just reuse a socket you would need to create a new socket. What does netstat say about the status of your connection before and after? -Periodically, send a Ping_DS to the Server -If the Ping_DS transmit fails -

RE: [PHP] How to duplicate this functionality?

2004-05-14 Thread Will Collins
Also, I forgot to mention... another little snippet I like to use for something like this is this meta tag: META HTTP-EQUIV=Page-Enter Content=blendtrans(duration=.1) It makes the pages fade into each other, and for two pages that are very similar (like your example) it doesn't look like there's