473,554 Members | 2,142 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Forum

PHP web programming language - Ask questions about php scripting, databases, mysql, templates, PEAR, php functions, PHP-GTK, setup and installation, object oriented programming, classes, files, security, sessions, arrays and more.
0
1,636
thread by: bennyfans | last post Aug 31 '17 by: bennyfans
Hello friends, Please I want to add sms verification to the sign up script of my website. Please if you have an answer, kindly help me out...
2
2,086
thread by: dseals22 | last post Sep 11 '17 by: Frinavale
How can I validate each of (upper textboxes) using JQuery validation plugin (which is the current code you see below) in order to see if the username and password is correct and if they are not correct, display the error messages in red below each respective textbox. Here is my code. Any suggestions would be help. <h1>Welcome to Cuyahoga...
4
2,345
thread by: bits2017 | last post Sep 21 '17 by: Rabbit
Php Experts, Look at this cURL script and let me know what you think. The cURL fetches pages just like web proxies do. The script shows you an html form. It has a field: Url. You type a url and cURL fecthes that page and proxies all links by preceding: proxified_page_test.php?url_to_proxify= So, if the fetched page contains a link on...
0
1,646
thread by: bits2017 | last post Sep 26 '17 by: bits2017
Hi, I want to build a cURL script that auto searches a keyword on any site's search feature. In this example, imagine I want it to search ebay.com. How should I code it ? What is the code that: 1. Types a keyword in the search box; 2. Clicks the search button.
13
3,615
thread by: bits2017 | last post Sep 29 '17 by: bits2017
Php Programmers, Why is the password_verify failing on this script ? I do not think I got it wrong! Do you ? You will see, it fails to log you in to your account with the correct Username/Email and Password. Do check the script on your end in Xampp/Wamp. Cheers.
1
1,434
thread by: bits2017 | last post Oct 1 '17 by: bits2017
Php Guys, Why does not the UI Text Box and "Browse!" button get displayed below the iframe ? <iframe src="http://cnet.com"</iframe> <form method="post" action=""> <div class="form-group">
1
1,687
thread by: bits2017 | last post Oct 1 '17 by: bits2017
Php Folks, You will notice that, I have a question on my comments where I show confusion on how to proceed forward. I ask which 1 of the following 3 I should use which will suit the context of my code well. I commented-out the ones that I personally thought did not fit into my codes' context. But, I need your professional opinion. //Which...
1
1,621
thread by: bits2017 | last post Oct 1 '17 by: bits2017
Php Folks, You will notice that, I have a question on my comments where I show confusion on how to proceed forward. I ask which 1 of the following 2 I should use which will suit the context of my code well. I commented-out the one that I personally thought did not fit into my codes' context. But, I need your professional opinion. //$result...
2
4,824
thread by: bits2017 | last post Oct 1 '17 by: bits2017
Folks, Let us work on this following suggested code: if ($_SERVER == "POST") // not really needed since you're checking $_POST { if (isset($_POST) && isset($_POST)) { $username = trim($_POST); // $password = trim($_POST); //
0
1,449
thread by: vikingltd | last post Oct 2 '17 by: vikingltd
Am getting the error that says " Hide Copy Code Notice: Undefined index: text1 " Hide Copy Code <div class="formRow"> <div class="grid2"><label><?php echo $lang; ?>:</label></div> <div class="grid10"> <?php $query_timezone1=mysql_query("SELECT...
0
1,559
thread by: bits2017 | last post Oct 3 '17 by: bits2017
Php Lovers! I am NOT searching for banned words within other words on a page but searching for banned words within a loaded page. I am not actually looking for banned words within other words but within the page (meta tags, content). And so, if I am looking for the word "cock", then the word "cockerel" should not trigger the filter. I...
0
1,432
thread by: bits2017 | last post Oct 4 '17 by: bits2017
I am trying to add a banned words filter onto a web proxy. I am NOT searching for banned words within other words on a page but searching for banned words within a loaded page. I am not actually looking for banned words within other words but within the page (meta tags, content). And so, if I am looking for the word "cock", then the word...
1
2,621
thread by: bits2017 | last post Oct 6 '17 by: bits2017
Folks, :) My 3+ pages are all in mysqli procedural. I cannot just switch to pdo and oop and throw 6 mnths of work down the drain! And so, let's try converting the following code suggestion by Death Shadow to mysqli procedural. if ( array_key_exists('login_username_or_email', $_POST) && array_key_exists('login_password'], $_POST) ) {
0
1,695
thread by: bits2017 | last post Oct 7 '17 by: bits2017
Hi, This is a login.php. The user is given a choice to either input his/her Username & Password or Email & Password. In short, either log-in inputting your Username or your Email. People are welcome to provide their own code samples in mysqli procedural or edit (fix) my code by adding comments and displaying it on this thread for all...
4
3,685
dgreenhouse
thread by: dgreenhouse | last post Oct 9 '17 by: adclassified
Does anyone know of a high quality open source PHP classified ads script?
0
2,118
thread by: bits2017 | last post Oct 10 '17 by: bits2017
Php Gurus, I added a url logger to Mini Proxy so that whatever my free users browse gets logged into my db under their account usernames. The code of Mini Proxy is too long to fit into this post and so you may check it out here: https://github.com/joshdick/miniProxy/blob/master/miniProxy.php Using the Mini Proxy, whatever I browse now gets...
0
2,163
thread by: bits2017 | last post Oct 12 '17 by: bits2017
Php Gurus! This is a php web proxy called Mini Proxy not written by me. Why do https pages show blank white when I visit any https pages with the proxy ? I reckon the https pages are failing to load. Why do you think that is ? You can see the actual code here if you want to see it with line numbers:...
0
1,689
thread by: bits2017 | last post Oct 12 '17 by: bits2017
This is a login.php. The user is given a choice to either input his/her Username & Password or Email & Password. In short, either log-in inputting your Username or your Email. It is written in mysqli procedural. I have not learned pdo oop yet. I need help in the login.php to add the "Remember Me" feature using Cookies. I have googled but...
0
1,884
thread by: bits2017 | last post Oct 12 '17 by: bits2017
Php Masters! Every php persistent cookie tutorial I come across always save the user's password onto the user's hdd. To make things worst. Save it on the hdd without encrypting it. Now, I thought it would be best if the cookie got named under the user's computer mach address and the mach address got saved in the db. Then, when the user loads...
0
1,869
thread by: bits2017 | last post Oct 14 '17 by: bits2017
Php Masters! Do you mind showing me an example of how to write the code to fetch the persistent cookie token from the user's hdd ? Because, If I do not know how to write code to do the fetching then I won't know what the token is to check against the db. I know how to query the db with php, though. While going through many tutorials that...
1
1,924
thread by: bits2017 | last post Oct 16 '17 by: bits2017
Folks, Here is a php code that lists all the rows and columns in your mysql tbl for you to select the rows (via check boxes) you want to delete and then delete them by clicking the appropriate "delete" buttons. Problem is, when I click any of the "delete" buttons, I get error flicking for a sec that there is an undefined variable $num. Not sure...
5
16,258
thread by: azghanvi1 | last post Oct 24 '17 by: azghanvi1
Introudction A lot of PHP based libraries are currently in market that support chart types. The important aspect is how they are connecting with our data source as mostly they are used with some database (e.g. mysql or sqlite). Getting Chart data from Database For this article, i am fetching data from northwind sqlite database. Lets say...
1
2,279
thread by: anhtu | last post Oct 28 '17 by: Luuk
I have a form that I use php to retrieve data from MySQL and display that data in an input box. One of the fields is encrypted when the data is submitted into MySQL using AES_ENCRYPTED and that part works fine, I can see in the DB that that data is encrypted. My issue is how to use AES_DECRYPT to display the decrypted data in my input box with...
0
1,549
thread by: bits2017 | last post Nov 6 '17 by: bits2017
Webhosts & Programmers! I want to know from you, since I want to run a public proxy then would I still become a target like you say even after adding the following measures ? If so, then how to prevent all this from happening ? The following are the steps I am taking. Do you mind checking if they are safe & sound or not ? 1. Not run an SMTP....
0
1,726
thread by: rushi29 | last post Nov 17 '17 by: rushi29
i have to validate telephone number.in which STD code of prefer city is given by drop_down list and i want to apply validation to remaining field. for this i have to use only 1 to 9 number but limit of this field is only 5 to 8 character. so please give me the suggestion as early as possible.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.