Jump to content

MadTechie

Staff Alumni
  • Posts

    9,409
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MadTechie

  1. UID = Unique IDentity No post code.. erm i think you many need to check that! OK lets start again whats the problem with your code ?
  2. change sites
  3. And the problem with this code is ?
  4. you need to look at the routines that set the sessions.. the code you have shown doesn't have that bug in (from what i can see)
  5. what are you looking for exactly ?
  6. you need a field for timestamping i used lastDL $query = "SELECT * FROM Mixes WHERE 'download1'!=NULL ORDER BY 'lastDL' DESC limit 0,5"; Revised: <?php $query = "SELECT * FROM Mixes WHERE 'download1'!=NULL ORDER BY 'date' DESC limit 0,5"; $result=mysql_query($query); $num=mysql_numrows($result); while ($row = FetchAssoc($result,MYSQL_NUM)) $download1=$row["download1"]; $id=$row["id"]; echo "{$row["dj"]}<br>"; echo "{$row["event"]}<br>"; echo "{$row["date"]}<br>"; } ?> <p align='right'>--------------------</p> <p class="main_text" align="right"><span class="time_main_text_small"> <?php } mysql_close(); ?>
  7. something like <?php if(isset($_POST['UID'])) { mysql_query("UPDATE table SET name = `{$_POST['name']}, lastname= `{$_POST['lastname']} WHERE UID={$_POST['UID']}`"); } ?> add a hidden field for the UID just a basic how to
  8. personally i wouldn't hard code the path.. it will create more problems later!
  9. how to do know when they are off the path? is it the hardcoded stuff..?
  10. Well posted We're see what happens thanks guys
  11. oh yes setcookie("username", "".$_POST['username']."",); should be setcookie("username", "".$_POST['username'].""); Note the last , is removed by adding the comma the function is expecting some more data
  12. OK well whats the errors from what i can see your having problems as your cookies are being set after output (see quote) try <?php ob_start(); // <-- move to top ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="../style/default.css"/> <title>Download Section - Members Area</title> </head> <body> <div class="logo"><h1>Lamez's Download Section</h1></div> <div class="spacer"></div> <div class="box"><font size="3"><center> <?php //<--PHP code continues .... .... also in the Member's Area Script, you are not closing the if add <?php } //<--this ?> </body> </html>
  13. try this $thedate = "david, john, paul"; $thedate = '"'.str_replace(',', '","', $thedate).'"'; NOTE: that single double single (')(")(')
  14. please click solved!!!
  15. yeah true.. i may ask if i can just move the domain names, before thats.. i don't know.. humm
  16. OK well a little update while looking for another host i am try to see if i can use them for awhile longer my reply their responce OK this is c**p 3 hours is that to setup or intervals!! any suggections for a good responce.. i dont' want to play the false advertising card yet as a note my site is something that gets used weekly (rarely daily) but at the end of the month a lot of data is uploaded and it processes a lot of reports.. i wanted the cron to be every 15/30 minutes 97% of the time it will just check the database for the job list and do nothing!
  17. OK if your still reading this then thank you.. my next step is moving.. The Problem.. i have registered a few domains.. and when i registered i you get this message (see below) so i have 2 years to wait on one.. and months of the others.. now should i push for getting them released (cancelled/exchanged) so i can uses them on another site ? as far as i am aware they have broken the law Trade Descriptions Act 1968
  18. Yeah looking at 1and1 and ace-host.net shame my host won't transfer my domains OK i don't like to give bad report but while i'm still mad here the site www.hostultra.com
  19. OMFG!!!! looking at the spec of the basic aka mini package.. Instant Account Activation! 24/7 Support & 24/7 Live Support! No Ads FTP, PHP, MySQL Unlimited MySQL Databases! Unlimited Parked Domains / Subdomains PHP with Safe-Mode Disabled [View phpinfo] Unlimited POP3, SMTP, IMAP, WebMail Powerful Spam Filtering Custom Error Documents Custom MX Records No File Size or Type Limits All Legal Content Allowed Priority Support! now look at the spec of the WHM (the one i have) Set your own space, bandwidth and resource limits Unlimited features (MySQL, FTP, Domains etc..) PHP, MySQL, CGI, PERL, SSI Unlimited MySQL Databases! Unlimited Domains / Subdomains Unlimited FTP Accounts Protected Directories (.htaccess) Fantastico Auto Installer PHP with Safe-Mode Disabled [View phpinfo] Frontpage Extensions Optional Hotlink Protection Unlimited POP3, SMTP, IMAP, WebMail Powerful Spam Filtering Website Statistics / Access Logs Custom Error Documents Custom MX Records Cron Jobs No File Size or Type Limits All Legal Content Allowed cPanel Control Panel Plus many other cPanel functions! NOW you see the Cron Jobs.. well i submitted a ticket see below.. my ticket reply I am NOT HAPPY.. suggections... revenge one will be fine
  20. still no luck its not the mail feature is the fact it doesn't seam to add the croned job! their tech support is usless.. the logs doesn't show a thing!
  21. Well kinda explode will create the array for you
  22. MD5 is quicker and with salt still pretty secure SHA1 is a little slower but more secure again still add salt MD5: is 128 bit (16 byte) message digest makes it a faster implementation than SHA-1. SHA-1: The Secure Hash Algorithm (SHA) is 160-bit (20 byte) message digest. Although slower than MD5, this larger digest size makes it stronger against brute force attacks.
  23. PHP is server side so the local functions would all be the same (bring the server) your need to use client side like javascript, you could pass this infomation to php, via cookies, Get, post etc
  24. what about <?php $x = 1.8; if(is_int($x)) { echo "integer "; }else{ echo "fraction"; } ?> EDIT: Ahh beat me
  25. what about natsort
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.