| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> hello again <0> i need help again <0> is it possible to add a title using window.open() ? <1> no <0> how can i add a title then ? <1> Djanov: You set it in the opening pages <title> element. <0> how can i p*** php variable in JS ? <2> <?php $myphpvar = 16; echo "<script>var myvar = {$myphpvar};</script>"; ?> <2> <script> alert(myvar); </script> <0> is this good ? : <0> var imagepath="<?php echo('$imagepath'); ?>" <0> exacube ? <0> openPictureWindow('imagepath', 800, 600, 'window title here');
<0> but it doesn't work <2> yeah, that's fine <2> no its not fine <3> what ya think of this <3> http://atsearch.autotrader.co.uk/WWW/CARS_popup.asp?modelexact=1&lid=search_used_cars_full&make=TOYOTA&model=SUPRA&min_pr=5000&max_pr=7000&mileage=&agerange=&postcode=b11aa&miles=1500&max_records=200&source=0&photo=1&sort=3&ukcarsearch_full=SEARCH&start=6&distance=161&adcategory=CARS&channel=CARS&id=200609226583193 <2> i think it's a very long URL <2> var imagepath="<?php echo($imagepath); ?>" <0> i prefer Lada cars :P <2> openPictureWindow(imagepath, 800, 600, 'window title here'); <3> Djanov you have to specify the title in the document your opening <3> vardhan <3> the car not the urn you twat <2> it looks good <3> URL <0> nice car ;) <2> looks new <3> im thinking of selling my roadster and buying one <0> well it doesn't work <0> i have a problem with variable <0> image link is : http://localhost/<?php <0> the php variable is not p***ed into java variable <0> problem is here var imagepath="<?php echo($imagepath); ?>" <0> please help me <3> Djanov ff show me the script online already <0> i'm on local :( <0> if you want i can show you the source JS <0> in JS i i want to use 2 variables i should do this ? : ('+variable1+' '+variable2+') <0> please ? <0> yuhu ? <3> you need to put online to see <0> if i can put it online can you help me ? <3> i can try but be quick its late and im tired <0> ok please wait <0> neo can you try this: 82.121.28.185 <3> dont work <3> We can't find "82.121.28.185" <0> damn there is a routeur <0> can you look at my code ? http://pastebin.com/584362 <3> Djanov i really need to see it online <0> i configuref easy php but routeur won't open it :( <0> my apache server is down <3> Djanov paste the whole file Not just that snippet <4> bleh <0> but this is were the error is <0> i will explain <4> if (document.abortion()) alert("bleh"); <3> bleh <4> ;-) <0> if instead of : var imagepath="<?php echo($imagepath); ?>" <0> i put var imagepath="/photos/1.jpg" <0> it works perfectly <0> so there is a problem with p***ing the php variable to JS, no ? <3> is the document a .php doc <0> yes <3> show me the whole doc <0> and the part i gave you is called <3> Djanov ok stop right there <0> with : echo"<script type='text/javascript' src='Java/2.js'></script>"; <3> PUT THE WHOLE DOC IN PASTEBIN <0> ok <0> http://pastebin.com/584368
<0> that is my main code <0> line 7 correspond to the first link i gave you <3> so your calling 2.js <3> and thats the other pastebin **** ? <0> line 84 is using 2.js yes <3> that needs to be 2.php NOT 2.js <3> else how can the js parse the php stuff ??? <0> but it's stores in a JS file <3> rename 2.js to 2.php <0> *stored <0> ok <3> change line 2 to call 2.php <0> on source and on folder ? <3> apache cant parse <?php ?> in a .js file <3> Djanov you have a file called 2.js yes ? <3> please listen my time is valuable <0> done but it's still the same <0> not reaalyy the same sorry <3> 2 mins <3> your french yes ? <0> i don't have my image <0> yes <3> ok <3> wait... <0> the image properties gives me : http://localhost/WIDTH=800 <0> instead of :http://localhost/photos/1.jpg <5> i am here <3> Djanov <3> is french mate <5> rehi Neo <3> can you transpate <3> translate <5> sure <5> shoot Djanov <0> cool <3> aiclaly whats happening is you are trying to make apache run a .js file as a .php file and it cant interpretate the php code <3> bascially <0> yeah <3> that joehn <0> when i changed JS to php <3> joehn is a good french friend of mine <0> my error changed <5> ;-) <0> so now apache can interprate the php inside the Java ? <3> yes if the file is .php <0> am i right ? <0> ok <3> sorry joehn seems he understands lol <0> but i still don't have the value p***ing <5> his english is good <0> ^^ <3> so you have an error in your 2.php now thats not making your image the correcy one <0> no, because if i give manually the name of the variable it works <3> Djanov put 2.php on pastebin please <0> problem is on: var imagepath="<?php echo($imagepath); ?>" <0> http://pastebin.com/584362 <3> ok put your 2.php(js) on pastebin <3> No the whole thing please <3> if that IS the whole file do this BEFORE it all <0> http://pastebin.com/584378 <3> <?php $imagepath="/image/myphoto.jpg"; ?> <0> ok i put it manually and i test <0> pls wait <3> right your trying to parse an $imagepath thats not set mate <0> i put that on line 4 right ? <3> basically that variable has not been told what to parse our ? <3> no line 1 <3> above everything <0> out of the function ? <3> what image are you exepecting where should $imagepath come from <3> ok lets go back a few steps <3> what is sepecifing the image path ? <3> where is $imagepath set <0> when i put the code on line 1
Return to
#javascript or Go to some related
logs:
#linux #linuxhelp #linuxhelp Taco Bell bucuresti radio getElementByname checked #php #AllNiteCafe #linux horde unable to connect to localhost:106 passwd/lib/Driver/poppassd.php #AllNiteCafe
|
|