Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 10-09-2004, 04:35 PM   #21 (permalink)
 
Super Techie

Join Date: Aug 2004

Posts: 277

real_in

Send a message via Yahoo to real_in
Default

hey u rock brother, lemme kiss you for that muaaaaaaahh..

thanx now jus lemme know how can i combine a javascript code, which is mentioned in this thread only, by xula, or i have redirect this page to some html page and if yes then what i have to do for that, i mean u have to do for that
__________________
Realin Wuz here ...

real_in is offline  
Old 10-09-2004, 04:37 PM   #22 (permalink)
 
Super Techie

Join Date: Aug 2004

Posts: 277

real_in

Send a message via Yahoo to real_in
Default

Also lemme know, that everytime if a user clicks, that means the file would be overwritten, so i would only have the Ip address of the user who last visited my site, is it so??
__________________
Realin Wuz here ...

real_in is offline  
Old 10-09-2004, 04:42 PM   #23 (permalink)
 
Super Techie

Join Date: Jun 2004

Posts: 312

sippin codeine

Send a message via Yahoo to sippin codeine
Default

Now you need to read up on php, I dont build websites, I mainly program. It looks like you need to call a flash file within that php script right, you need to do some googleing on php.
__________________
**[System specs]**

Delphi Enterprise 6 - 7
VB 6.0 - 2005 EE
sippin codeine is offline  
Old 10-09-2004, 04:44 PM   #24 (permalink)
 
Super Techie

Join Date: Jun 2004

Posts: 312

sippin codeine

Send a message via Yahoo to sippin codeine
Default

Quote:
Originally posted by real_in
Also lemme know, that everytime if a user clicks, that means the file would be overwritten, so i would only have the Ip address of the user who last visited my site, is it so??
The logfile is not overwritten, it is appended to.
__________________
**[System specs]**

Delphi Enterprise 6 - 7
VB 6.0 - 2005 EE
sippin codeine is offline  
Old 10-09-2004, 04:45 PM   #25 (permalink)
 
Super Techie

Join Date: Aug 2004

Posts: 277

real_in

Send a message via Yahoo to real_in
Default

well i found something on google..

it says i can redirect a home page to any static addres by using header thing

the code for that is

<?
header('Location: http://www.newpage.com/');
?>
__________________
Realin Wuz here ...

real_in is offline  
Old 10-09-2004, 04:57 PM   #26 (permalink)
 
Super Techie

Join Date: Jun 2004

Posts: 312

sippin codeine

Send a message via Yahoo to sippin codeine
Default

if your trying to open a flash then read this
http://aspn.activestate.com/ASPN/doc...-openfile.html
__________________
**[System specs]**

Delphi Enterprise 6 - 7
VB 6.0 - 2005 EE
sippin codeine is offline  
Old 10-09-2004, 05:06 PM   #27 (permalink)
 
Super Techie

Join Date: Aug 2004

Posts: 277

real_in

Send a message via Yahoo to real_in
Default

thanx brother and regards too
__________________
Realin Wuz here ...

real_in is offline  
Old 10-09-2004, 10:05 PM   #28 (permalink)
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default

Yeah, that's one way to do it. If you want (no real reason to, except security as anyone can access that IP log if they know/find the file name), you can use a MySQL database...if you want that, let me know

For redirecting, yes, your code is right, just add towards the bottom, after fclose($hFile); (next line) this:

header('Location: index.html');

note: change index.html to your page name.



Also, if you wanted, you can leave the extension as .PHP and make all pages your site as that--leaves for great expandability/lots more... Just make sure your links go to "index.php" instead of "index.html" etc.

Javascript is not necessary as you are using PHP
__________________
Vormund is offline  
Old 10-10-2004, 06:33 AM   #29 (permalink)
 
Super Techie

Join Date: Aug 2004

Posts: 277

real_in

Send a message via Yahoo to real_in
Default

How can i use that MySql thing, i learned Sql long time back adn i have some tutorials with me, lemme know which querries to be executed and how??
__________________
Realin Wuz here ...

real_in is offline  
Old 10-14-2004, 04:27 PM   #30 (permalink)
 
Super Techie

Join Date: Aug 2004

Posts: 277

real_in

Send a message via Yahoo to real_in
Default

Respected Sippin,

Well brother jus a question again.. is it possible to grab data from the text boxes defined on a webpage, jus like we got that Ip address, simply the username and password get stored in the file.. is that possible

regards..
__________________
Realin Wuz here ...

real_in is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On