- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Gamer and developer. I like trying out new stuff.
- Interests
- Gaming and developing.
- PC Specs
- 2007 Packard Bell w/ 2GB RAM, 3GHZ processor and a 1GB video card I put in later.
15 Posted Topics
Hello, I am creating some sort of cPanel, and I want people to be able to log in using their Linux user. I installed the PAM extension, but it's functions aren't recognized/return nothing. Installing it using the `pecl` command does not work (some ./configure errors, I am not really in … | |
Hello, I am sharing my webserver with a few people (it's my server) and I am trying to create some sort of an admin panel for them. It has to be able to change Apache VirtualHosts and reload Apache. Now I can make the config-changing PHP code, but there are … | |
Re: It's also not a very good idea to use mysql_query etc in new projects, as it is deprecated. You should use MySQLi. | |
Re: It's also open source, which allows users to look how stuff works in the source code and it allows users to contribute to the project if they feel like. ASP.NET isn't open source, and it doesn't run on non-Windows servers. Because it's open source, it allows people to make PHP … | |
Re: Make an admin section which lists your bios. Place an edit button next to the bios and make a PHP page which [loops through the folder](http://php.net/readdir) and shows your pictures and maybe a thumbnail. Put a select button next to each image and add some PHP code to the button … | |
Hello, I am sharing my webserver with a few people and I am trying to create some sort of an admin panel for them. It has to be able to change Apache VirtualHosts and reload Apache. Now I can make the config-changing PHP code, but there are 2 Apache-related problems. … | |
Hello, I am making a Google Chrome extension. It checks if a Minecraft Server is online. To do so, it has to open a socket. As JavaScript can't do this, I made a PHP script that does the trick and I host it on my webserver. However, my code returns … | |
Re: There is unfortunately no automatic way of doing this. But you can easily do it manually. Go to your project folder, then rename every file/folder with your old project's name. Then load it into VS again (double-click your solution/project file) and go to My Project and rename everything there. I … | |
Hello, I know I shouldn't use mysql_. So I have a mysql_query which updates my table (for a hit counter). However, when I open the page, I get to see this: > You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version … | |
Re: Maybe use [exec()](http://www.php.net/exec) or [shell_exec()](http://www.php.net/shell_exec)? I haven't tried this. | |
Hello, I have this code over here: <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <title>Admin area - Sydcul URL Shortener</title> <meta name="description" content="Free URL shortener"> <meta name="keywords" content="sydcul, url, shortener, tiny, url, tinyurl, bit, ly, bitly"> <meta name="author" content="Sydcul"> <link href="../stylesheet.css" rel="stylesheet" type="text/css"> <link rel="icon" type="image/ico" href="../favicon.ico"> </head> <body> <center> <h1>Admin … | |
This .htaccess throws me a 500 error. I've Googled/tried everything. RewriteEngine on RewriteRule ^([0-9]{6})$ decode.php?shorturl=$1 [L] It's for a URL shortener. I am new to this stuff. ![]() | |
Hello, My script uses the user 'www-data' (my webserver) when connecting to the MySQL Database, while I tell it not to. <?php include ('config.inc.php'); $connection = mysql_connect($host, $user, $password); mysql_select_db($database, $connection); $shorturls = mysql_query('SELECT shorturl FROM `' . $prefix . 'urls`'); $shorturl = rand(100000, 999999); foreach(mysql_fetch_array($shorturls) as $row) { if($row['shorturl']==$shorturl) … | |
Hello, Somehow this is not working. I tried pretty much everything. I am also very new to PHP, but i made a nice CMS. Now I am making a website with some random flash-videos every time you refresh. This is what i got so far: <html> <head> <title>Sydcul.com</title> </head> <body> … |
The End.