SEO | Link Popularity | Search Engine Consulting | SEO Tutorial | SEO Tools | SEO Forum
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-26-2004, 04:56 AM
hvlav79 hvlav79 is offline
SEO Junior
 
Join Date: Aug 2004
Posts: 2 hvlav79 is on a distinguished road
Popup window with PHP?

Hi guys. I need some help writing a code that will open a popup window automatically, as soon as a function is completed. I want to write it in PHP without using javascript. Is that possible? If not, how would I write it using javascript?
Thanks in advance!
Reply With Quote
  #2  
Old 08-26-2004, 08:43 PM
amitbhawnani amitbhawnani is offline
SEO Junior and a half
 
Join Date: Aug 2004
Posts: 48 amitbhawnani is on a distinguished road
Nope its not really possible in PHP, PHP is a server side scripting language, you cant make things popup in the client machine...

Just do a google search for 'Javascript Popup Windows', ure gonna find a ton of usefulll stuff.
__________________
SEO Tools
Reply With Quote
  #3  
Old 08-26-2004, 10:47 PM
Cyber-SEO's Avatar
Cyber-SEO Cyber-SEO is offline
Chillin Like A Villan
 
Join Date: May 2004
Posts: 275 Cyber-SEO is on a distinguished road
I think i know what your trying to do. Let's see if I have this right.

Lets say you are sending an email, and your code finished through everything you want to let the user know that the email was sent. Well here is what you do.

Setup a "SITE WIDE" session called lets say "SiteMessages" and on the bottom of the page you place something like this, well this code is ASP but you'll get the idea.


Code:
<%
If Len(Session("SiteMessage")) > 0 Then
%>
<script language="JavaScript">
alert('<%=Session("SiteMessage")%>');
</script>
<%
Session("SiteMessage") = ""
End If
%>


Let me know if I got it right or if you have any trouble understanding this.
__________________
Rentals
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Login/Register
User Name
Password
Remember Me?

Forum Links
Forum Home
SEO Forum
Internet Marketing Forum
Web Design Forum
Web Hosting Forum
Programming Forum
SEO Chat

Quick Links
Forum Home
New Posts
Mark Forums Read
Open Buddy List
User Control Panel
Edit Avatar
Edit Profile
Edit Options
Miscellaneous
Subscribed Threads
My Profile

Search Forums

Advanced Search
All times are GMT -8. The time now is 04:23 AM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.