Jump to content

flamerail

Members
  • Posts

    25
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

flamerail's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hi guys, I know this is the right group of people to ask so here it goes. I'm starting up a web hosting company and have slowly been getting clients through word of mouth, thing have been going smoothly with this part. All signup are manual and payment has been personal check/paypal so far. Well I want to upgrade to a online solution that can handle setting up the user accounts so that payments can be tracked, invoices sent and the ability to process credit cards ect. I'm a designer myself but don't feel I have the skills necessary to build a fast secure and reliable billing/managment system. I've looked through a few different solutions but none seem tailored to hosting needs. I'm using Plesk, I looked into the plesk billing module but felt that it was to tricky to manage easily. Does any one know of something that may work for my needs? I'm more than willing to pay to get this taken care of. Thanks!
  2. Um Who in there right mind uses 98? And why would they even buy software expecting it to run on 98?
  3. I looked at some examples, Left Join is brutally slow and useless for what I need
  4. Ok, So heres the simple development code. <select name="select"> <? $query = mysqli_query(core_db(),"SELECT * FROM article_cat WHERE parent_id = '0'"); while($cat = mysqli_fetch_array($query)){ echo '<option value="'.$cat['id'].'">'.$cat['name'].'</option>'; } ?> </select> article_cat is setup (ID | NAME | PARENT_ID) Essentially if the cat is parent_id 0 its the root level, and any sub level category sets parent_id as the category id before it, I have no Idea how to recursively loop this, Any ideas? Thanks!
  5. Heres a function I wrote to protect myself against sql injection. <? //Removes EVIL for mysql entrys function safe($string){ $string = trim($string); $string = stripslashes($string); $string = mysqli_real_escape_string(core_db(),$string); return $string; } ?> Use it like this > safe($_GET['whatev']) It will work for any variable being posted. Be sure to change the mysql type to whatever your using, I suggest mysqli any way.
  6. Well it sais connected even when the port is active an inactive..
  7. How would I go about determining rather the connection was made or not. Thats basicly All i want to do. Thanks paul!
  8. No you would not need to. You can simple put the html into the php and put bits of <? phpstuff ?> where ever. You can even do stuff like, <?php if($a=0){ echo "hah"; ?> html STUFF!!! RAW HTMLZZ1!11! <?php } else { echo "Nahh to lazy for more html"; } Hope you understand.
  9. I did a search and couldn't find any thing helpful so hopefully you guys can give me a hand, I'm trying to make a little scriptlet that will try to open a connection to my gmod server. It uses UDP://gmod.flamerail.com:27015. I wanted to have a little thing that would say rather my gmod server was up or down. Well I've just modded the code on php.net for the udp example and Im getting a resource ID problem with it. Heres the code <?php $fp = fsockopen("udp://gmod.flamerail.com", 27015, $errno, $errstr, 5); if (!$fp) { echo "ERROR: $errno - $errstr<br />\n"; } else { echo $fp; //Gives a resource ID } ?> Any help or ideas would be GREAT
  10. [!--quoteo(post=375597:date=May 20 2006, 08:10 PM:name=AndyB)--][div class=\'quotetop\']QUOTE(AndyB @ May 20 2006, 08:10 PM) [snapback]375597[/snapback][/div][div class=\'quotemain\'][!--quotec--] The short answer is that you can't. php only exists on the server and generates a file rendered by your client-side browser. javascript only exists on the client side. So the javascript variable will only exist after the php script has executed. If you explain a little more, there's probably ways to accomplish what you want to do (just not the way you described). [/quote] I think he wants to assign a javascript code to a var so he can print it certin places.
  11. [!--quoteo(post=375613:date=May 20 2006, 09:01 PM:name=toplay)--][div class=\'quotetop\']QUOTE(toplay @ May 20 2006, 09:01 PM) [snapback]375613[/snapback][/div][div class=\'quotemain\'][!--quotec--] I don't know why you'd really want to do that, however, any PHP can be assigned to a variable and executed at run time using eval(). [a href=\"http://us2.php.net/manual/en/function.eval.php\" target=\"_blank\"]http://us2.php.net/manual/en/function.eval.php[/a] I'll report the chat being down. Thanks. [/quote] That isnt doing quiet what I needed but thanks.
  12. Im trying to generate a table with while then assign it to a var for later use. Is it possible? Also whats up with the phpfreaks chat? Its dead... is there an irc chat for us any where?
  13. [!--quoteo(post=367516:date=Apr 22 2006, 04:18 PM:name=superpimp)--][div class=\'quotetop\']QUOTE(superpimp @ Apr 22 2006, 04:18 PM) [snapback]367516[/snapback][/div][div class=\'quotemain\'][!--quotec--] [code] <?php $url_to_open="http://www.google.com"; $file=file_get_contents($url_to_open); echo $file; ?> [/code] this should do. No pictures/files/movies/... will be shown if the admin of the site links to them as images/image.jpg instead of [a href=\"http://site.com/images/image.jpg\" target=\"_blank\"]http://site.com/images/image.jpg[/a] in the last case, pictures WILL be shown :) Have fun at school ;) [/quote] Ok that works. But I need to take and load the image to the server then send it to the client... like a hub between me and the site. Any ideas?
  14. [!--quoteo(post=367342:date=Apr 21 2006, 06:20 PM:name=gizmola)--][div class=\'quotetop\']QUOTE(gizmola @ Apr 21 2006, 06:20 PM) [snapback]367342[/snapback][/div][div class=\'quotemain\'][!--quotec--] You're going to have to do a better job explaining what it is you want to do and why. [/quote] Im making a work around so i can view blocked pages at school. :)
×
×
  • 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.