[Solved]: need help implementing a small script [Solved]: need help implementing a small script
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: need help implementing a small script

Started by m0nty, June 29, 2004, 12:09:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

m0nty

hi,

i have an account with an SMSC and media messaging company, that allows me to link images from my site, basically this means users can click a link and the image will be sent to their cell phone (providing they have picture capability on their phone).

what i want to do is where the URL link is displayed on the image view screen, i want to change this, so that when they click a link (ie.  click here to send this photo to your mobile phone) it will send it..

the script is below:

<a href="#"
onClick="javascript:
window.open(
'http://*****.******.cc/req.php
?account=******d
&image=http://yourdomain/pic.jpg
&caption=your+caption
&code=UniqueImageRequestCode','_MPUSH',
'width=640,
height=420,
titlebar=1,
resizable=1, scrollbars=1');">
Send to my mobile
</a>


basically i want the photo url (normal_image) to be automatically placed into the  &image part of the script (highlighted red)
also the image title to be placed into the caption part (highlighted in red)

this will then send the image to the service centre who then send it to the cell phone.

edited out certain parts with **** for security reasons..

thanks in advance

Joachim Müller


m0nty