39,323 Topics
| |
Hi, Could anyone please tell me how to go about linking some folders which are already in php to the login page. For example once you have logged in successfully, the next thing you want to see is the admin homepage. How do you link the login page to the … | |
Hi i sow on WC3 school [url]http://www.w3schools.com/html/html_formatting.asp[/url] and i am confused about text , there is a lot of text format like , small , strong,computer code text, keyboard text,sample text. And i am confused about text, i see the difference but i do not know why is called computer, … | |
I am attempting to use a function to check for a valid email address before being read in. I am attempting to use a function as well and this is something I don't have a lot of experience in. Does the following code look correct? In addition to the test.csv … | |
hi, i am runnning a php script where i try to decompress a file and the untar it. the file in suppose x.tar.gz. so in my php script i call system command system("gunzip /home/trial/x.tar.gz"); now to untar i use system("tar xvf /home/trial/x.tar"); now the error creeps in. i am able … | |
Hi Guys, This is probably the most silliest of questions, i am still learning php and mysql :-| . I have this code below which brings up data from the database and displays it, what i want to do is to give the table headers a bgcolor how do i … | |
Hi, I am new to PHP oop. I was wondering when and why should we use the following: 1) Public 2) Protected 3) Private 4) are there any other??? An example would be appreciated. Thanx | |
Hi, I'm trying to create a little web page but when i try to log in using the username and password i put in MySQL database it doesn't do anything at all.which is when i click login it just goes blank. I don't know why this is. Could you please … | |
Hi there. I'm looking to create a site in the near future that will have a login system. What I'd like to know is: 1.) What different types of attacks are there against websites besides brute force attacks (been reading this thread on brute force attacks: [url]http://www.daniweb.com/forums/thread82966.html&highlight=login+security[/url]) 2.) Are there … | |
I searched thru all the PHP threads I could find relating to PHP & Forms and didn't quite find anything like what I asking. I am new to PHP and was wondering if someone could let me know why I am getting error HTTP 404 (Not Found) <!DOCTYPE HTML PUBLIC … | |
Hi I want to create a login screen which asks for username and passwor with change passsword facility. My idea is to store username and password in a php file and update them. Can anyone please tell me how to update a php file from another php file.. Thanx in … | |
hey im just wondering like how would i make it die when its not application/ocet-stream? [CODE]$ip = $_SERVER['REMOTE_ADDR']; $files = $_FILES["file"]["tmp_name"]; $file = rand(10,100) . $_FILES["file"]["name"]; if ((($_FILES["file"]["type"] == "application/octet-stream")) && ($_FILES["file"]["size"] < 400000)) { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; } … | |
I am having a sort of an issue with something. I am writing a script where, the user inputs some information in a form, and based on that form, a new file is created. The file which is created will actually become a webpage of .php type. The problem I … | |
Hi everyone, I want to delete uploaded files from the server. here I am not using database please check my code and suggest me any changes Del.php [CODE]<?php $jpgdir = "uploads/"; $file=$_REQUEST['file1']; echo $file; //echo $jpgdir; // Open a known directory, and proceed to read its contents if (is_dir($jpgdir)) { … | |
[B]RE:Google Analitcs[/B] Hi gang, I'm new to PHP... as you will probably be able to easily recognize by my following dialog. ;-) Anyway... I am taking over a website written in PHP with dreamweaver CS3. It has a seperate footer.php file in a sub directory and I believe this makes … | |
Any one know how I can write a php statement to call the last 4 entires from tbl_accounts by userID? Example: I have 4 users, userID's 1,2,3and 4. All of these users are showing on the home page. When user #5 signs up, I want user 1 to fall off … | |
Thanks for all the help and advice, I got everything working fine with sessions and what not. Now I am back asking for help writing some scripts if anyone is willing... I am unsure how to write the code, with the exception of the random md5 password which I found … | |
i use php for web dev and i need to create cron jobs in cpanel but it seems i need to have a knowledge of linux/unix. is there a way out? or a friendly solution? help, anyone. Thenks. | |
Anybody know if there's a way to pull gas prices from any of those gas price websites, so I can display them on my own page? I didn't know if there's a way to tap in to their source or if they provide some sort of way to do that. … | |
I am getting this error message [code]Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'dorcas'@'localhost' (using password: YES) in C:\myweb\dbmysql.php on line 2 Error connecting to database [/code] when i run this code[code] $con = mysql_connect("localhost", "dorcas", "dorc123") or die("Error connecting to database"); $query = "CREATE DATABASE chene"; $result = mysql_query($query); … | |
So guys I have program written in php and requires a database with two tables.I want the programe to check that a database exists and if not automatically create database and it's tables. can anyone suggest me a suitable way. | |
Hi all i have started a website however i have a problem with the chat script does anyone have knowledge about dolphin scripts. my users seems to be offline even though they are there. just been suddenly disconnected in the chatroom and then the site shows they are offline. the … | |
Hi, I was searching for the code to set a cookie at the start of the website like you can see at [url]http://www.apniisp.com[/url] , they have given the cookie at the start of the website which automatically popups. plz send me as soon as possible | |
i am getting the aboe error in the code given below <html><head> <title>MySQL Server Information</title> </head><body> <h1>MySQL Database Server Information</h1> <?php $DBConnect = mysqli_connect('localhost', 'root', 'mrityunjay'); echo "<p>MySQL client version: " . mysqli_get_client_info() . "</p>"; echo "<p>MySQL connection: " . mysqli_get_host_info($DBConnect) . "</p>"; echo "<p>MySQL protocol version: " . mysqli_get_proto_info($DBConnect) … | |
Which one pours more more a .net developer or a php developer and which is more long lasting. Iam asking this question 2nd time just to be more confident and then go ahead with the suggested one. So pls. pls. give your suggestion. thnx, | |
Hello everyone! Im just a newbie here, and i really need help from you guys. We have a project in our school right now... i want learn how to implement a simple "Post Messages and Announcements" using PHP and MySql in my site. Kind of like a miniforum where the … | |
Hi guys, relatively new to PHP - hoping someone can give me some advice. I am trying to navigate to a certain page using a switch statement, ie the case that is chosen determines which page you are directed to. The PHP code I have used reads as follows: [CODE]$TourName … | |
Does anyone have an opinion on Zend. My company does a lot of php web development and would like an independent review of its worth. We work with Joomla as a CMS, so this would be our primary use (writing extensions), although we also do some home grown lampp applications. … | |
Hey all, Quick question i'm having trouble answering. I've concantinated my variables together and all looks good except for one thing. I want 2 spaces after a colon and am only producing 1. [code] "Thank You!!<br /><br />PERSON:"." ". $row['fname']." ". $row['lname']." [/code] This produces: Thank You!!! PERSON: John Smith … | |
Hi, I want to create a table in Mysql but i receive an error. [COLOR="Red"]Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\wamp\www\CreateTable\create.php on line 11 Table veriler_2 couldn't been created! : [/COLOR] i give you the whole lines to check it for me. I can not … |
The End.