39,323 Topics

Member Avatar for
Member Avatar for dami06

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 …

Member Avatar for dami06
0
188
Member Avatar for kv79

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, …

Member Avatar for nav33n
0
80
Member Avatar for drsmith

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 …

Member Avatar for drsmith
0
120
Member Avatar for carobee

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 …

Member Avatar for DimaYasny
0
48K
Member Avatar for pancgom

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 …

Member Avatar for ryan_vietnow
0
129
Member Avatar for cancer10

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

Member Avatar for Walkere
0
113
Member Avatar for chitra1
Member Avatar for dami06

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 …

Member Avatar for dami06
0
143
Member Avatar for Venom Rush

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 …

Member Avatar for Venom Rush
0
124
Member Avatar for vbjenny

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 …

Member Avatar for nav33n
0
188
Member Avatar for creativehacker

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 …

Member Avatar for Walkere
0
103
Member Avatar for kishou

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 />"; } …

Member Avatar for nav33n
0
73
Member Avatar for sagedavis

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 …

Member Avatar for sagedavis
0
115
Member Avatar for creativehacker

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)) { …

Member Avatar for nav33n
0
81
Member Avatar for AP1

[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 …

Member Avatar for nav33n
0
134
Member Avatar for Morty222

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 …

Member Avatar for Walkere
0
88
Member Avatar for Vai

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 …

Member Avatar for Walkere
0
146
Member Avatar for Marlow

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.

Member Avatar for HazardTW
0
108
Member Avatar for nathanpacker

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. …

Member Avatar for ha1e
0
153
Member Avatar for dorcas

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); …

Member Avatar for nav33n
0
105
Member Avatar for nishanthaMe

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.

Member Avatar for nav33n
0
70
Member Avatar for hmullie

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 …

Member Avatar for hmullie
0
123
Member Avatar for AbdullahKhatri

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

Member Avatar for tirivamwe
0
374
Member Avatar for mrityunjay22

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) …

Member Avatar for Nick Evan
0
145
Member Avatar for innovativeatul

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,

Member Avatar for serkan sendur
0
106
Member Avatar for jenpai

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 …

Member Avatar for jenpai
0
203
Member Avatar for Scrawn_Dog

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 …

Member Avatar for nav33n
0
86
Member Avatar for ndnalibi

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. …

0
65
Member Avatar for rickarro

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 …

Member Avatar for m.pontus
0
94
Member Avatar for Fenerbahce

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 …

Member Avatar for m.pontus
0
170

The End.