Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Show a content than run a script.
Old 06-20-2006, 05:03 AM Show a content than run a script.
Raulică's Avatar
Ultra Talker

Posts: 253
Location: Constanta,Romania
Trades: 0
I need to output for example "Processing" on a page then execute a php script. With other words I need to output something and than run the php script. Is this possible only with PHP? What about Java?
__________________

Please login or register to view this content. Registration is FREE

Professional hosting for all pockets!

Please login or register to view this content. Registration is FREE
Raulică is offline
Reply With Quote
View Public Profile Visit Raulică's homepage!
 
 
Register now for full access!
Old 06-20-2006, 05:13 AM Re: Show a content than run a script.
ChancesAre's Avatar
Skilled Talker

Posts: 84
Trades: 0
Sounds like you need javascript here.

You mean something like when you login in forums, you get "You will automatically get redirected..." somethine like that then send you to a page?

Or probably you dont want to open a page, just one page to output processing and execute a php script? try google AJAX, im sure you know what it is already...


You can also execute it from a frame.
ChancesAre is offline
Reply With Quote
View Public Profile
 
Old 06-20-2006, 05:39 AM Re: Show a content than run a script.
Skorch1's Avatar
Super Talker

Posts: 115
Location: California
Trades: 0
Code:
<?php

echo 'Hi this is where all tags and viewable content are shown';

// process the script here

echo 'I am written to webpage';

// process more of the script

echo 'You can do this however long you want';

print('I am another command that writes words to webpages');


?>
__________________
Check out my
Please login or register to view this content. Registration is FREE
website!
Skorch1 is offline
Reply With Quote
View Public Profile Visit Skorch1's homepage!
 
Old 06-20-2006, 06:47 AM Re: Show a content than run a script.
Raulică's Avatar
Ultra Talker

Posts: 253
Location: Constanta,Romania
Trades: 0
I know what AJAX is all about. The problem is I am unfamiliar with it. Anyway i am starting now to read about it, I already found something similar to what I was looking for ( writen in AJAX of course).

Thanks
__________________

Please login or register to view this content. Registration is FREE

Professional hosting for all pockets!

Please login or register to view this content. Registration is FREE
Raulică is offline
Reply With Quote
View Public Profile Visit Raulică's homepage!
 
Old 06-20-2006, 10:10 AM Re: Show a content than run a script.
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
Read the sticky's by praveen in the javascript coding forum, there are well over 100 links to different types of AJAX tutorials listed there.
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Show a content than run a script.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20788 seconds with 12 queries