Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-30-2011, 09:54 PM   PM User | #1
learninghard
New to the CF scene

 
Join Date: May 2011
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
learninghard is an unknown quantity at this point
Question how do i make a var open a new page?

hi there i have this code and i'm having trouble with the $URL ,because that code import a page to a box, since they changed the layout, this no longer possible.
PHP Code:
function tjrj($process,$tipo="")
        {
            
//check a origem
            
if ($tipo == "95")
        
$URL "http://www.xyz.com/scripts/B=&PRO=".$process;
            else
            
$sFormatted vsprintf('%s.%s.%s-%s'sscanf($process"%4s%3s%6s%s"));
            
$URL "http://www.xyz.com/scripts/B=&PRO=&numProcess=".$sFormatted;
            
            
$pagina $this->openURl($URL);
            
$lines explode("\r",$page);
            for (
$i=28;$i <= count($lines) - 18;$i++)
            {
                        
$buffer1 =  str_replace("width='770'""width='100%'"trim($lines[$i])."\n");
                
$buffer .=  str_replace("width='700'""width='100%'"trim($buffer1)."\n");
            }
            return 
$buffer
so here goes the proplem: i need make this this var pop up on a new page," $URL = "http://www.xyz.com/scripts/B=&PRO=&numProcess=".$sFormatted;" is thare any way to do that just on php?
learninghard is offline   Reply With Quote
Reply

Bookmarks

Tags
export, link, php, test, variable

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:04 PM.


Advertisement
Log in to turn off these ads.