Jump to content


Staff Alumni
  • Posts

  • Joined

  • Last visited

Everything posted by steelmanronald06

  1. hmmm.... I'm a bit confused....anyone else?
  2. *pops a pain pill* that gave me a headache :-P can you point me in the right direction of basic package diagrams?
  3. http://ronald.netgeekz.net built it myself
  4. Hmmm... Class Diagram. I will have to read back up on that one. Any other suggestions?
  5. I want to duplicate some of the adsense in a slight variation. Instead of tracking how many impressions/clicks an ad gets on another site, I want to track them on my site. Insert link/ad/whatever into database. Track impressions, clicks (unique clicks v. recurring clicks), give a precentage of unique vs. recurring clicks, provide a way for users to log into a panel and track their links/ads/whatever (view precentages, clicks, impressions, etc), add new links/ads/whatever and be billed for them, etc. I know this is going to be extremely complex, which is why I will also be releasing it as a software, but I need some advice. What are some things you might include? How would you do it? Obviously, I don't want any pre-packaged software (ie. stuff that will handle the ticketing system, etc). But should I use a framework or build my own? Obviously OOP and Database design. Cookies AND sessions, or just sessions? Won't be using credit card support, because that requires users getting SSL and I want to make this as free as possible, so I will be using whatever service PayPal will offer. And of course check/money order. Able to show invoice, past dues. A registering system, but how advanced should it be? Just basic name, address, phone, age/birth, etc. I just need a bit of help elaborating on this. Would you provide two-way support? Like allow users to make ads/links and display on their site and get paid for that? That would require a much more advanced system, but I am open to any and all suggestions. Some of the things I'm looking at here is: Registration System Tracking how many impressions and ads your link/ad get on my site Invoicing system/billing A way for a user to add links from their panel, and of course confirm this Will be processing paypal payments. FAQ/Helpdesk for questions and such Live support? If we go with two-way, track how many impressions/clicks a users site generates on ads we give them, and of course paying them Just a list of some features. I was thinking a custom framework, database design, design patterns, front controllers. This will mean that when a person makes an ad/link it show a box to the admin of premade code (this code would include a form of database connection perhaps, and include a file that contains the mysql query) so the admin can copy and paste this right where he wants the ad to be and the impressions/clicks are tracked instantly. Well, I think that is about it. Sorry it is so long. As I was typing ideas just kept pouring out. Some help refining this would be great.
  6. Here is a list of web hosts that offer PHP and MySQL. It is no where near a full list, but it is most popular. I'm locking this so you can't reply. I am pulling this list from the most popular google searches and reviews on a forum who has a board dedicated to reviewing web hosts. http://www.serverpowered.com http://www.webhostfreaks.com http://www.ace-host.net http://www.godaddy.com http://www.web.com http://www.hostway.com/ http://www.1and1.com/ http://www.icdsoft.com/ http://www.site5.com/ http://www.surpasshosting.com http://www.webfusion.co.uk http://emaxhosting.com http://www.100webspace.com/ http://www.startlogic.com Granted it isn't a big list. But there is a variety of price ranges to choose from. This should keep people from posting over and over and over again for web hosts.
  7. Here is a list of commonly suggested FTP Programs to use: FileZilla SmartFTP CuteFTP RightFTP CoreFTP JFTP FireFTP
  8. As long as you put in the code I gave, it should work. I don't get any errors with it.
  9. Your insert statement is wrong.  Look here for correct syntax:  http://dev.mysql.com/doc/refman/5.0/en/insert.html mainly this line here: [code] INSERT INTO tbl_name (col1,col2) VALUES(15,col1*2); [/code] see how they tell the column names, and then list the values for each respectivly? Here, edited to encompass your code: [code] mysql_query("INSERT INTO 'guides' (title,summary,screenshot,content,overallrating,mediat,gameplay,graphics,sound,value) VALUES ('$title','$summary','$screenshot','$content','$overallrating','$media','$gameplay','$graphics','$sound','$value')");[/code]
  10. Well, the Tutorial Section is working fine (might have a few edit existing tutorial problems), and the User Submitted Tutorial section is actually up and running.  But if you want to submit tutorials to the Tutorial Section, as eric said send in a request to be a tutorial writer and we will get back to you.
  11. Mine is obvisouly my name :)  Backwards and my year of high school graduation. 
  12. I hear word that adobe bought dreamweaver, but if you need a good IDE, choose PHP Designer Pro.  As per your question.  Yes this is all done in PHP, and it is extremely basic.  Go over to phpfreaks.com main site, and click on tutorials.  There you will find a fully fleshed Member System and I do believe a tutorial on how to set up a poll/vote.
  13. If you take a look at your account profile you will see that your Email address is visible to all people.  You do believe that there is an option, I could be wrong, in your profile settings that will hide your email. If there isn't, post back here and I will personally find or build a mod that will allow users to hide their emails from viewers.
  14. grab the phpbb source code, and in there is a text file that is like coding standards or something...it is basically an example on how they want the code to look if your gonna write mods.  I use that as a typical coding standard for all my code. PHPBB sucks as a forum, but their code is normally clean and such.  Double spaced in the approiate places, well commented, and indents.
  15. webhostfreaks.com has a great starter plan for like 3.99 or something like that. It is really cheap, but really good.
  16. WINDOWS ME!!! I can't stand windows, but even I know that ME is the worst OS they came out with. Dude, downgrade to 98 if you have to, just get rid of ME.
  17. Get a VPS.  ServerPowered.com is real good at setting it up as a web server, so you don't have to do anything to it.  And they do free migration from server to server.  So they would migrate your site from your home server to your new VPS. If you have to set something up, PM me. I will do it for free.  I have a 2 VPS, and I am thinking about getting another...plus I run Gentoo linux on my home computer....P.S. Get CENTOS for your OS on the VPS.
  18. It shouldn't be much longer. I am working on getting eric to set me up with the code that is currently there and I plan on fixing it myself. In the meantime, feel free to email tutorials to me and I will put them on the site. The best I can do in regards to giving you credit for the tutorial, is putting your name on the conclusion page. If you choose to send me tutorials be sure you tell me where one page starts and where it ends, and be sure to title each page. An example might be Set Up Database and that entire page be devoted to setting up the database. All emails can be sent to netgeekz@gmail.com
  19. You can submit code to the PHP Code Library. You just can't currently submit tutorials.
  20. can I include a php file in apache by using: [code] include conf/monitor_apache.php [/code] and if so, would that mean that the php file would exectue everytime someone went to any page on my website that is hosted through that apache server? what I want to do is have a .php file that is included in just one place and have it execute on every page on my website without me going into each file on my server and doing and include '../includes/file.php';
  21. I am connected to the database the same way everywhere else. this is the only script on my site that isn't working.
  22. [code] <?php $title = ":. Edit News"; require_once($_SERVER['DOCUMENT_ROOT'].'/includes/top.php'); $newsid = isset($_GET['news_id']) ? $_GET['news_id'] : NULL; /* Connect To The Database Via Including It */ require_once($_SERVER['DOCUMENT_ROOT'].'/includes/db.php'); // Get Secure Access Levels $secure_username = $_SESSION['username']; $securequery=mysql_query("SELECT * FROM `users` where username='$secure_username'"); $securerow=mysql_fetch_array($securequery); $access_level=$securerow['user_level']; // Redirect All Restricted Users if($access_level == 0 ||    $access_level == 1) {    echo "<p>You don't have permission to view this page. If you feel you have          reached this page by error, please contact the administrator.</p>"; } // If They Have Permission, We Let Them Post if($access_level == 2 ||    $access_level == 3 ||    $access_level == 4) {    // Get The Posters Username    $news_username = $_SESSION['username'];    if (isset($_POST['submit'])) {      // Assign Variables      $name = strip_tags(trim($_POST['name']));      $subject = strip_tags(trim($_POST['subject']));      $message = $_POST['message'];      $date = date("D m/d/Y - g:ia");      $postquery = "UPDATE news                    SET name='$name', subject='$subject', message='$message', date='$date'                    WHERE id='$newsid'";      mysql_query($postquery) or die(mysql_error());      mysql_close();      echo "News Updated!";    }    /* Time To Select The News From The Database */    $query = "SELECT * FROM news WHERE id='$newsid'";    $result = mysql_query($query);    $result_array = mysql_fetch_assoc($result);    ?>    <p>    <form name="news" method="post" action="<? echo $PHP_SELF ?>">    <input name="name" type="hidden" value="<? echo $news_username ?>">    Subject: <input type="text" name="subject" value="<? echo("{$result_array['subject']}"); ?>"><br><br>    Message:<br>    <textarea name="message" cols="60" rows="15"><? echo("{$result_array['message']}"); ?></textarea>    <br><br>    <input type="submit" name="submit" value="Edit" style="cursor:pointer"> <input type="reset" name="reset" value="Clear" style="cursor:pointer">    </form>    </p>    <?php }else{     echo "<p>You have failed to pass both security checks. Your actions have been           logged and reported to the site administrator. If you believe you have           recieved this error by mistake, please contact the webmaster.</p>"; } require_once($_SERVER['DOCUMENT_ROOT'].'/includes/bot.php'); ?> [/code] [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--] Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/netgeekz.net/news/edit.php on line 54 Warning: mysql_query(): A link to the server could not be established in /home/www/netgeekz.net/news/edit.php on line 54 Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/www/netgeekz.net/news/edit.php on line 55 [/quote] Any way to fix the error?
  23. There is alot going on here that the Mods monitor that it is really hard to catch it all. What makes it even harder is that few mods take an active role in the forums, so there are less of us to handle the work.
  24. [!--sizeo:2--][span style=\"font-size:10pt;line-height:100%\"][!--/sizeo--][a href=\"http://www.webhostfreaks.com\" target=\"_blank\"]http://www.webhostfreaks.com[/a] [!--sizec--][/span][!--/sizec--][!--sizeo:2--][span style=\"font-size:10pt;line-height:100%\"][!--/sizeo--][a href=\"http://www.serverpowered.com\" target=\"_blank\"]http://www.serverpowered.com[/a][!--sizec--][/span][!--/sizec--] Both places have EXCELLENT hosting from webhosting to VPS, Dedicated, and Reseller. I would recommend them above all other hostings environments. Not only that, but they will work to meet YOUR needs. If their system configurations don't meet your requriments you can contact them and they will set up a system that does. Not only that but they provide FREE Server Migration. They will Migrate everything from your current server to theirs in a quick painless process.
  • 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.