Jump to content

SunTzu

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by SunTzu

  1. SunTzu

    mail() function

    I will try that ...Thank you.
  2. SunTzu

    mail() function

    Hi,Do you know how is this done with gmail ?I did use smtp.gmail.com as SMTP in php.ini but nothing happens.
  3. Actually i had the same problem and i tried to configure php.ini by setting SMTP = smtp.gmail.com and port 25 but nothing has happened.I did not use an SMTP server as i believed that i could use the gmail's server by configuring properly the php.ini. Am i in the right way or not ?
  4. Is it working if you try innerText?
  5. Good Morning to All,Can someone pls advise me if it is possible to have an array as an Ajax Response ?
  6. SunTzu

    Cannot send email

    Can i use Gmail as mail server ?
  7. SunTzu

    Cannot send email

    I think that my problem is about setting up an SMTP server in Apache.Any idea of how doing this ?
  8. SunTzu

    Cannot send email

    Thnx for your reply ..So, how can i set the mail() function on ? I have just modify SMTP parameter in the php.ini file. I am using gmail so i put SMTP = smtp.gmail.comAlthough, my ISP is this one http://www.tellas.gr/index.asp?gid=28〈=1What is most important here ... the ISP or Gmail ?
  9. SunTzu

    Cannot send email

    Hi,I am using the following simple codes for creating a form with a textarea <form method="post" action="sendmail.php"> Email: <input name="email" type="text" /><br /> Message:<br /> <textarea name="message" rows="15" cols="40"> </textarea><br /> <input type="submit" /></form> and sending its contents to myaddress using the following php script <?php $email = $_REQUEST['email']; $message = $_REQUEST['message']; mail( "myaddress@something.com", "Feedback Form Results", $message, "From: $email" ); header( "Location: http://www.example.com/thankyou.html" );?> but it does not work ...Any help plsss ...
  10. strange .... when i put onmouseover="openmenu()" in the <a> element works fine ...
  11. Hi to All ,I have the following cell which is a hyperlink and i am trying to change its link using javascript ... <td class="menu" id="jobdesc" onmouseover="openmenu()"><a href="jobdescription.htm">Job Description</a></td> Here is the script: <script type="text/javascript">function openmenu() { document.getElementById("jobdesc").innerHTML = "<a href=\"why.htm\">Job Description</a>";}</script> But unfortunately the link seems to be inactive ... (file why.htm is there ) What can be wrong?thnx in advance.
  12. SunTzu

    Drop Down Lists

    Thanks yoshida ..I will try to use Javascript to reload the page with the parameter dept like self.location = xx.php?dept="value" and then get it with $_GET[].Do you think that AJAX would help here ?
  13. SunTzu

    Drop Down Lists

    Hi to All,I have spent whole day trying to figure out how to populate a drop down list according to the value of another drop down list.I have "departments" and "positions" so when i select a dept. from the first drop down i want the respective positions to populate the other. The problem here is that i need to do that before "Posting" the form which would resolve easily my problem.I tried to use JavaScript but in vain as JS is used at the client side while PhP at the server side.Please advise ...thnx
  14. SunTzu

    Passing variables

    Great !!!Thank you very much 'Against the Masses' You saved me from staying awake one more night
  15. SunTzu

    Passing variables

    Hi to all,I need to pass a php variable ($somevariable) to a pop-up window.I am using JavaScript to open the window but i do not know how to get the respective variable from the opener.Any suggestions?Thank you.
  16. It is not exactly what i am looking for ... You are right about 'value' Actually i include some text from another form there (this is my default text) and then i want to add some additional text in the area. So, i need this to be with different color.Thak you anyway
  17. Hi everyone,I need your assistance in the following plssssI have a TextArea with a defaule text ( coming from the 'value' attribute) and i want the subsequent text that i will enter to have different color than the default one.Is that possible? and if yes how can i implement such a thing ...thnx in advance
  18. Hi,I am newbie too but for the first problem i think that you could include your background image in the 'style' attribute. Also use 'background-image' instead of 'background'.Do not take this for granted ... but you could try.
  19. Great !!!Thank you very much for your time.A usefull hint for me was to include 'width' for the <th> in the 'style' attribute.thnx again.
  20. Here we are ...In this case i am using xhtml11 but beleive i have tried also xhtml1.0 Transitional , Strict etc ...<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE HTML PUBLIC "-//w3c//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Web Tecnologies - Homework 1</title> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <form method="post" action="SubmitAction.txt"> <table cellspacing="0px" summary="Top 10 Sites List!"> <colgroup> <col span="5"> <col span="1" width="1%" align="center"> </colgroup> <tr> <th width="12%" rowspan="14" style="background-image: url(alien.gif); background-repeat: repeat-y"></th> <th class="banner" colspan="5" valign="top">Welcome to our top 10 Sites List</th> </tr> <tr> <th align="left">No</th> <th>Web Site</th> <th>URL</th> <th>Keywords</th> <th>Vote</th> </tr> <tr class="rowstyle1"> <td>1</td> <td>Europe's Soccer Web Site</td> <td><a href="http://www.uefa.com">UEFA Official Site</a></td> <td>Soccer, Champions League, UEFA Cup, Matchday</td> <td><input name="vote" type="radio" value="uefa" /></td> </tr> <tr class="rowstyle2"> <td>2</td> <td>Sports Live Streaming</td> <td><a href="http://live.supersport.gr/default.aspx">Supersport-Live Streaming</a></td> <td>Streaming, live, football, Sport Events</td> <td><input name="vote" type="radio" value="supersport" /></td> </tr> <tr class="rowstyle3"> <td>3</td> <td>All about Space and Aeronautics</td> <td><a href="http://www.nasa.gov/externalflash/nasa_gen/index.html">Nasa Official Site</a></td> <td>Space, Aeronautics, Nasa, Space Shuttle, Solar System, Space Sciences</td> <td><input name="vote" type="radio" value="nasa" /></td> </tr> <tr class="rowstyle4"> <td>4</td> <td>Torrent Full Downloads</td> <td><a href="http://www.fulldls.com">Full Downloads</a></td> <td>Torrent, Free, Download, Free Software, Movies, Music</td> <td><input name="vote" type="radio" value="fulldls" /></td> </tr> <tr class="rowstyle5"> <td>5</td> <td>Web Based E-mail Service</td> <td><a href="http://www.hotmail.com">Hotmail</a></td> <td>E-mail, Messanger, POP, SMTP, MSN</td> <td><input name="vote" type="radio" value="site5" /></td> </tr> <tr class="rowstyle6"> <td>6</td> <td>News from all around the World</td> <td><a href="http://www.cnn.com">CNN World News</a></td> <td>News, World, Market, Politics</td> <td><input name="vote" type="radio" value="cnn" /></td> </tr> <tr class="rowstyle7"> <td>7</td> <td>Greek News</td> <td><a href="http://www.in.gr">In.GR</a></td> <td>Greek News, TV, Cinema, Entertainment</td> <td><input name="vote" type="radio" value="in" /></td> </tr> <tr class="rowstyle8"> <td>8</td> <td>Hellenic On-line Radio</td> <td><a href="http://www.e-radio.gr">Hellenic e-Radio</a></td> <td>Radio, Music, e-Radio, Radio Streaming</td> <td><input name="vote" type="radio" value="eradio" /></td> </tr> <tr class="rowstyle9"> <td>9</td> <td>Gateway to the European Union</td> <td><a href="http://europa.eu/">European Union Web Site</a></td> <td>Europe, Union, Europa, EU, Programmes</td> <td><input name="vote" type="radio" value="europe" /></td> </tr> <tr class="rowstyle10"> <td>10</td> <td>The latest News about Technology</td> <td><a href="http://www.insomnia.gr/">Insomina</a></td> <td>Technology, Mobile, Telephony, Telecommunications, Software, Computer</td> <td><input name="vote" type="radio" value="insomnia" /></td> </tr> <tr class="rowstyle0"> <td colspan="2"><input name="other site" type="text" value="Other Site (Description)" size="40" maxlength="50" /></td> <td><input name="other url" type="text" value="Type URL" size="30" maxlength="30"/></td> <td>Other Keywords</td> <td><input name="vote" type="radio" value="other vote" checked="checked" /></td> </tr> <tr> <td align="center" colspan="5"> <input name="send" type="submit" value="Submit" /> <input name="clear" type="reset" value="Clear All" /> </td> </tr> </table> </form> </body> </html> thnx
  21. Hi to all ,This is my first post here , i am not a professional developer so i will be as brief and concise as possible.I have a very simple code only for screen (without Jscripts, JSPs, PHPs etc) but i cannot validate it.I am trying on W3C validator but i keep receiving "Unknown Parse Mode!". No other errors are reported there so i assume that this is it ... obviously. I have tried all valid DTDs but still nothing.Any suggestions ??
×
×
  • Create New...