39,323 Topics
| |
I have recently being interested in Web security and I have some reading. I then found [URL="http://www.developertutorials.com/tutorials/php/secure-website-login-060817/page1.html"]this post[/URL], and it is great. I would like to hear what do you think is missing or what isn't necessary a.k.a overkill. It is not criticizing as such but discussing security ;) | |
Hi all, can someone tell me if it's possible do search like this: Mysql database: test Mysql Table: something Mysql rows: id name1 name2 name3 name4 Where [CODE] id name1 name2 name3 name4 1 roger mac phill chill 2 roger chill dubs lee [/CODE] The idea is do a search … | |
I was digging through my old codes to get this, still could not find. Hence when I wrote it, just made a note here such that later it wont be difficult to find atleast for me. [B]Format filesize, php filesize human readable[/B] | |
Hello in the below PHP Code Everything seems fine but it did not posts to the site when i use it Can any one spot out what type of error it is Also here the XML RPC is enabled and the when i access it directly it works(i mean the … | |
Hi All, I need to create a new web-service by using php. And I need to use SOAP RPC/encoded for implementing this. I also need to authenticate the soap request using soap header information. Before doing main task that I have created a WSDL file, client and server files using … | |
Hi I'm a bit of a newbie with this stuff, so I'm not 100% sure where to post this. Anyway I have a mini arm based PC for which I am trying to compile a php binary in cgi-mode, which supports sqlite. I am trying to cross compile from a … | |
Hi! I am trying to insert the data froma a form into 3 tables. Although I get no errors only the first insert works. Could you please help me and tell me what am I doing wrong? $query_add = "insert into autoturisme values('', '$producator', '$model', '$categorie', '$nume_poza', '$motor', '$consum', '$locuri', … | |
I have a php page showing records from an sql database, when the user clicks on a link they are taken to a detail page with more info etc. All of this works fine - the issue is that I wiould like uses to be able to submit a form … | |
Hello, I have a sql database which contains the names and descriptions of a product and the price. However, all products have a starting price of 5 and then the value of the product itself is added. THey also have a multiplier. eg. if a price is 210.13 dollars, the … | |
Hello friends I want to send the attachment with mail in my code iam successful in sending the mail but the problem is the attachment iam getting is in unknown format can any one please help me in resolving the issue i already posted this but i not get any … | |
I have just become involved with PHP. I am running Vista with IIS7 and PHP 5.2.13. The installation was done via the Windows Web Installer and after a few issues I believe it now working. My initial question is one of basic environmental understanding by this I mean all the … | |
I'm inexperienced with Javascript and I found this script, but I'm not sure how to alter it to do what I want. I have a PHP script that creates forms in a loop. $z in this case could equal 3, and 3 forms each containing 1 Position/Office field will be … | |
What is PHP and how is it used? Can one market it (the idea) of support on the internet? | |
Hiya. Im new and in need of some help. i have a form which is full of DropDowns and has functions so that in 1 drop down if a value is selected ten a function happens. but this is for one section. I would love to have an Add button … | |
This error comes for mismatch use of parenthesis but i didn't succeed in tracking it Running this code, i am getting unexpected $end error kindly track the error and let me know with the required change code..... [CODE]<?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password … | |
hello, i used to had a working methode but it doesn't work now, and i have no idea why. i'd like to create a flash panel with text. the text is kept in a txt file and sent by php to flash. (it works fine.) i have an other flash … | |
asp or php well, I want a website do not know what language, please help me | |
I keep getting an object expected error at the start of my <body> I've set a form to value="Accountants" and <body onload="showindex()"> in an attempt to automatically submit this value to a js file whenever the page loads. My aim is to have dozens of html pages all using the … | |
Rebuilt an existing site: Old site used aspx pages, for example: [url]http://www.americascarshow.com/Detail.aspx?dct=11&mid=1656[/url] (broken) New site is in Joomla; new link is: [url]http://americascarshow.com/gadgetcentral[/url] I tried a 301 redirect in .htaccess file but cld not get it to work. I need a solution to redirect links to new pages and/or at least … | |
Just wondering, why is it that PHP seems to be the preferred option over JSP when dealing with MySQL databases? I've long gone off PHP and have moved onto JSP in more recent times and find that it handles the over-all performance much better. I'd like to hear from all … | |
| Hi all, I'm trying to get the content of a div with php. I can't find a way to use javascript in php to do it so I was thinking that regex would be the way? If it helps the div id is "editor". Thanks in advance, if you need … |
I'm getting this error and I can't figure out why: "Parse error: syntax error, unexpected $end in C:\Program Files\IndigoPerl\apache\htdocs\process_menu2.php on line 160" thanks :) [code]<?php echo '<html> <head> <title>Uploading...</title> </head> <body> <h3>Uploading file...</h3>'; // Set up the database connection. require_once ('mysqli_connect.php'); //if name selected from drop down box if (isset($_POST['product_name'])) … | |
I am writing a php code in which i am trying to implement the following - I have made a exe program in c++ which takes a string input from the user and then displays the output; - Now in php, i am calling this program using passthru(), system(). like … | |
Hello, I am really new at using PHP and can anyone help me out on printing a web page using Php? Thank you. Sam | |
hi all, i am having a page in which upload and download buttons are present. so wen i click upload or down load button the values in that page are refreshing and becoming empty actually i get those values from the previous page. so i dont want the page to … | |
Hey, so i'm trying to make a double login page, 2 users put there user and password there and login at the same time, the problem is that it always says that the passwords are wrong... I think my problem is connecting with the MySQL database, because i can't create … | |
neethu@ubuntu:~$ mysqldump -u root -p database_name > /home/neethu/Desktop/time/backup5.sql Enter password: neethu@ubuntu:~$ this code works in terminal...but i need to implement it using php... hi, i want to dump databases... we r doing a project on replication of databases.... through terminal replication works all well ... but in developing gui in … | |
[Code] <? //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","******","******"); //select which database you want to edit mysql_select_db("*******"); //If cmd is not hit if(!isset($cmd)) { //display all the news $result = mysql_query("select * from Cars"); //run the while loop that grabs all the news … | |
Im trying to output a dropdown select menu from an array, and it all works fine, but the default option isnt working. Heres what ive got: [CODE] <?php $usertz = $user->$main["timezone"]; foreach($timezonearray as $tz => $off) { echo "<option value='$tz'"; if($tz == $usertz) { echo 'selected="selected"'; } echo ">$tz"; if(array_key_exists($tz, … | |
Dear All I am trying to write PHP code to print the job automatically. It means, i need to schedule the job in windows server and based on schedule PHP code should execute to send the job to print the documents. I am struggling to send the job to printer. … |
The End.