Jump to content

westman

Members
  • Posts

    600
  • Joined

  • Last visited

Everything posted by westman

  1. westman

    catch a url link

    see at the top of the page we see http%3a%2f%2fw3schools.invisionzone.com%2findex.php%3fshowtopic%3d44191so the url from this site was recivied
  2. westman

    catch a url link

    but how does validator.w3.org only use...check?uri=refererand still get url of all diffrent sites?
  3. westman

    catch a url link

    ok sorry for not giving more info.... i will give a html block like... <p> <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a> </p>to link with my site. more that 1 site will have this link so i need to know witch site is sending me refferels.
  4. westman

    catch a url link

    does ... $ref = $_GET['uri']go on my site to catch the URL?
  5. westman

    catch a url link

    ppl you are missing the piont. am trying to make a system that can catch a url referre how and where do i start?
  6. westman

    catch a url link

    ok but in...<a href="http://validator.w3.org/check?uri=referer">how does it get my site url?
  7. westman

    catch a url link

    example 2 <p> <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a> </p> how do they do it?
  8. westman

    catch a url link

    how do i catch a URL link? for example i click a link in this forum to go to my site, how can i catch it in php, witch site a user came to visit me from?
  9. got one http://jscolor.com/
  10. where can i find a very simple html color picker (HEX) to place in my site?
  11. westman

    backup your DB

    got it working now thank you
  12. westman

    backup your DB

    errors were fond on the 2 includes linesWarning: include(Mail/mime.php) [function.include]: failed to open stream: No such file or directory in ../../..Warning: include() [function.include]: Failed opening 'Mail/mime.php' for inclusion ../../../..Fatal error: Class 'Mail_mime' not found in /../../..
  13. westman

    backup your DB

    the 2 includes were on my old server and did not have the file but the script worked. i do not have any errors to show. i now it does not work coz i have no email please tell me more about system() can it be replace with anything?
  14. westman

    backup your DB

    i have made a cron job with godaddy and it works fine plue i can conecte to my DB fine i have put a whole site up with godaddy gust fine, so no problem with conectivate. just a prob with this script any help?
  15. westman

    backup your DB

    back agian am lost i had script working and then i changed my host provider to godaddy and can not get it working here is what i have... <?php// Create the mysql backup file// edit this section$dbhost = "my host info"; // usually localhost$dbuser = "my user name";$dbpass = "my password";$dbname = "my DB name";$sendto = "my email";$sendfrom = "email from";$sendsubject = "Daily Mysql Backup";$bodyofemail = "Here is the daily backup.";// don't need to edit below this section$backupfile = $dbname . date("Y-m-d") . '.sql';system("mysqldump -h $dbhost -u $dbuser -p$dbpass $dbname > $backupfile");// Mail the file include('Mail.php'); ////// not shore what this is for include('Mail/mime.php'); ////// not shore what this is for $message = new Mail_mime(); $text = "$bodyofemail"; $message->setTXTBody($text); $message->AddAttachment($backupfile); $body = $message->get(); $extraheaders = array("From"=>"$sendfrom", "Subject"=>"$sendsubject"); $headers = $message->headers($extraheaders); $mail = Mail::factory("mail"); $mail->send("$sendto", $headers, $body);// Delete the file from your serverunlink($backupfile);?> can any 1 see in my code any problems?
  16. thanksi got it how do i use these? Meta Tag <meta property="og:title" content="Open Graph protocol" /> Meta Tag <meta property="og:type" content="website" /> Meta Tag <meta property="og:url" content="http://ogp.me/" /> Meta Tag <meta property="og:image" content="http://ogp.me/logo.png" /> Meta Tag <meta property="og:image:type" content="image/png" /> Meta Tag <meta property="og:image:width" content="300" /> Meta Tag <meta property="og:image:height" content="300" /> Meta Tag <meta property="og:description" content="The Open Graph protocol enables any web page to become a rich object in a social graph." /> Meta Tag <meta property="fb:app_id" content="115190258555800" /> and how do they work?
  17. how do i find my code for... <meta name="google-site-verification" content="String_we_ask_for">
  18. westman

    php 5.3

    nicelove itthank you so much ppl
  19. westman

    php 5.3

    i have looked athttp://tr.php.net/manual/en/function.session-register.phpand still no help am just working on thesession_register('username');for php 5.3/5.4
  20. westman

    php 5.3

    am loking for php 5 for.... $password = ereg_replace("[^A-Za-z0-9]", "", $_POST['password']);andsession_register('username');
  21. westman

    include

    how do i link a 3rd file in this way? for ex.index.php $message = file_get_contents('mail.php'); mail.php $message = file_get_contents('core_mail.html'); how would i code mail.php to include core_mail.html to show on index.php?
  22. westman

    include

    thank you it works
  23. westman

    include

    still not helpfull
  24. westman

    include

    could you povide a demo script so i can understand better
  25. westman

    include

    hi all, i need to include a php file that has only text in it into a $. i have this so fear... $email_message = '<html><body bgcolor="#FFFFFF">' . $name_of_the_sender . ' invites you to join them on the site.<br /><br />Thank you.include "../email.php"</body></html>'; my include "../email.php" is not working how do i get it working in this way?
×
×
  • Create New...