Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1123

PostPosted: Tue Feb 19, 2013 5:53 pm Reply with quote

Guys, I created a popup in addon folder

head-popup.php

Inside the file I did this

Code:
<?php



echo "<script type=\"text/javascript\">\n";
echo "<!--\n";
echo "var newwindow;\n";
echo "function loadwimpy(url){\n";
echo "newwindow=window.open(url,'name','height=300,width=188,left=1,top=1,toolbar=no,menubar=no,directories=no,location=no,scrollbars=no,status=no,resizable=no,fullscreen=no');\n";
echo "if (window.focus) {newwindow.focus()}\n";
echo "}\n";
echo "//-->\n";
echo "</script>\n\n";



I guess something is wrong because I am getting some javascript conflict. Anyone can take a look what could cause the issue?

note: Is it always obligatory to use this code

Code:
if (stristr(htmlentities($_SERVER['PHP_SELF']), 'head-popup.php')) {

   Header('Location: ../../index.php');
   die();
}
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Feb 19, 2013 7:16 pm Reply with quote

You will need to trace this one on your own. Sorry, it's not an RN issue.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©