sorry i didint explain what i needed.
i have this asp/php script showing pictures (ORIGINAL CODE) on my page and wonder how i can make visabild.php open in a new window, i tryed putting in target_blank but that just makes the php code fail on me :/ so if anyone could help me make it open the...
i got helped here ( http://www.tek-tips.com/viewthread.cfm?qid=1357114&page=1 ) to open a picture in a new window, hte original code is bellow and the JS code i got is under it, the problem i have now is that the new window picture wont open and i wonder why :(
ORIGINAL CODE
if (...
i have this asp/php script showing pictures on my page and wonder how i can make visabild.php open in a new window, i tryed putting in target_blank but that just makes the php code fail on me :/ so if anyone could help me make it open the imiage in a new window with a specific window higth &...
this is how the code in show.php looks like
<img src="data/<?=$_GET['id']?>.jpeg">
if the link ID fro from the database is 56 it checks /data/ foler for image 56 and displays it.
hey there, i noticed i forgot to add someting so i think i made you missunderstand me.
when people press a picture shown by my PHP code, show.php opens that picture in a new window, now what i need in that new window under that picture is my commentbox, and as i need to change the commentscript...
...mysql_connect($MYSQL_HOST, $MYSQL_USER, $MYSQL_PASSWORD);
mysql_select_db($MYSQL_DATABASE);
// Plocka ut 7 senaste MMS
$res = mysql_query('SELECT *,unix_timestamp(tstamp) as utstamp FROM mms
ORDER BY tstamp DESC LIMIT 6');
echo "<table cellspacing=\"3\" cellpadding=\"1\"...
now i got
Microsoft OLE DB Provider for SQL Server error '80004005'
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
/mms/mms.asp, line 15
i dont belive it's any settings, password host or login that is wrong, i matched to the written settings on my...
i changed it, then this appeared :/
Microsoft VBScript compilation error '800a03ee'
Expected ')'
/mms/mms.asp, line 38
if FSO.FileExists(Server.Mappath("data/" & RS("ID") & ".jpeg") then
---------------------------------------------------------------^
..."User ID="&MYSQL_USER&";" & _
"Password="& MYSQL_PASSWORD&";"
// Plocka ut 10 senaste MMS
Set RS = Conn.Execute("SELECT *,unix_timestamp(tstamp) as utstamp FROM mms ORDER BY tstamp DESC LIMIT 10")
// Eka ut en tabell
Response.Write "<table cellspacing=""2"" cellpadding=""5""...
ok, i put in that code and bellow is what i have now, still i got this erro
'<br />
<b>Parse error</b>: parse error, unexpected $end in <b>C:\Sites\Single8\lunarplejs\webroot\mms\mms.php</b> on line <b>99</b><br />
'
<?php
require_once('Mail/mimeDecode.php');
// Definiera konstanter för...
That didint work either
i changed it to
$mms = new MMSDecoder();
echo "<hr/><pre>".print_r($mms, true)."</pre><hr/>";
then i got a long long long error wich was greayed out so i coulde not copy it, te image was not saved and so on.
Ok, i changed the lines for what you said and tryed another MMS, if you check the page the same thing happend, also i got "'<hr/><pre></pre><hr/>'" in response back to me
ok, when i send an MMS to my webserver, the script downloads the picture, the picture from the MMS message and places it into /data/ , but it downloads it 3 times,
Yesterday i sent 2 MMS messages to my webserver, and both where downloaded as you cna se here...
Hey there jpadie, i solved the download error, the code shown bellow now saves my pictures in /data/ with a named made by the database entry number, BUt now i have another problem, the script shown bellow saves the picture in /data/, 1 picture is 8Kb and shows my MMS picture, while the other 2...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.