39,388 Topics
![]() | |
Hi can anyone tell me how I can write data to the main www.example.com from mobile.example.com i keep getting a http write error when i try to mkdir or a file on the main domain from the subdomain?? | |
This is my html page, which takes in an input by the user and the searches the database for the word, also there is a function which is suppose to display the results here is the html code <?php require_once ( 'browsing.php' ); ?> <!DOCTYPE html> <html lang="en"> <head> <title>Browse</title> … ![]() | |
I have two files, slideshow2.html and getimages2.php. The first contains a variable, js_var, with the name of a directory. This will ultimately come from a database. I want to pass js_var to the php file, which creates an array (galleryarray) out of the images in the directory and sends it … | |
I have an html form which brings up an input box, which is this <!DOCTYPE html> <html lang="en"> <head> <title>Browse</title> <meta charset="utf-8"/> <link rel="STYLESHEET" type="text/css" href="../../style/Browse.css"> </head> <body> <form> <form name="input" action="Browsing.php" method="post"> Search <input type="text" name="search" /> <input type="submit" value="Submit" /> </form> </form> </body> </html> Then I have a … | |
please could someone help me for a code to validate DOB i got this code on the web but doesnt work i want to validate dd/mm/yyyy or any other format is fine by me. if(preg_match("/dob/i",$field)) { if(!preg_match("“/^([0-9]{2})\/([0-9]{2})\/([0-9]{4})$/”",$value)) code from web { $errors[]="$value is not a valid dob please enter only … ![]() | |
Hi there. I'm trying to integrate with a payment gateway API, and as I'm fairly new to PHP, I'm having some trouble to proceed. Basically, I have a form that goes to a specific URL (submitting URL). From the documentation: "Request information is submitted to payment platform with HttpsClient , … | |
hi every one i have a question that how i can get the facebook fan ID. e.g i have a page and 40,000 users like my page now i want to get the id of each users(40,000) one id per line. please tell me how i can do this? and … | |
Okay so here it is. The code below is my player counter for a game called Minecraft. It connects to a server and brings back 2 values. 1) The number of current online players and 2) the maximum number of player slots. Then it stores these two variables in to … | |
Hey everyone i have a database for a plumbing site i am working on. They would like some way for customers to send in a ticket to there system and they need it up right now. I am building a ticketing system for them right now but i need a … | |
Hi every one any one tell me that if i post an article on my website and i want that the article don't disply after one month? In my table there is a field of date which save the date of the artcile when it is posted and one field … | |
if(@$_GET['action'] == "Search"){ $result = mysql_query ("SELECT * FROM students where idnum = '$_GET[mysearch]' or fname = '$_GET[mysearch]' or lname = '$_GET[mysearch]' or midin = '$_GET[mysearch]' or gender = '$_GET[mysearch]' or bdate = '$_GET[mysearch]' or course = '$_GET[mysearch]' or year = '$_GET[mysearch]' or address = '$_GET[mysearch]' or cnum ='$_GET[mysearch]'"); $rows … | |
<form id="form1" name="form1" method="post" action=" <?php include("connect.php"); require("search2.php"); $username = $_SESSION['email']; ?> "> <p> <input type="text" name="search" id="search" value=""/> <input type="submit" name="btnSearch" id="btnSearch" value="SEARCH" /> </p></form> search2.php <?php include("connect.php"); $username = $_SESSION['email']; $name=$_POST['search']; $query = mysql_query ("Select * from confirm_members where email = '$name'"); if(mysql_num_rows($query)==0) die ("User not found"); else … | |
How to add video or image ads before opening next page? When video is completed or image is seen for 10 seconds after that goto page clicked for. I want to add my own videos and images for advertising before going to next pages selected for displaying ads | |
Hi All!!! im currently at a roadblock in my knowledge of using mysql and php date/time functions. the program i am trying to write, needs to incoporate the current date in the mysql query to pull the correct information to display in real-time.. currently the server is on east coast … | |
Hi, I have been trying this for almost one week but still cannot get my ldaps:// binding working. I can bind using same information through ldp.exe or LDAP browser but bot my php code. Weirdly, my binding works using normal ldap (without SSL). Not sure what's wrong with my code … | |
How many pages of pdf can view as images by imagick.i need it in my project to view all pdf file as images.Is it possible by imagick. | |
Hi all, I have an issue with a loop as it contains communication between my server and a remote one. If the remote server has an issue then it takes forever to complete the loop and the execution times out. What it currently is: $servers = mysql_query("SELECT * FROM server_tab;e … | |
Hello, I am using this function below to validate date, when the user enter a valid date format every is fine and it apears on my DB, but when the user enter any thing like abcde or 22107666, i expect it to give an error message as shown on the … ![]() | |
I have a website that runs fully on PHP. The footer is contained in footer.php. Is there a way to make the footer customizable via Wordpress? | |
Hello all! My problem is: I have 2 web php pages, in a online server. 1 is listing database content, the other is to "download" the 1º but in html... I'm doing this by getting the content of 1º page, in a link like http:\\mysite.com\page.php, to make the page run … | |
Hello, I have a made a forum like page where a user can submit a thread and the information gets stored in a database. However, when I try to output the data it outputs it without any line breaks in it, example: The user inputs: Hello, This a paragraph It … | |
I need in my project to view pdf files such that no one can save the pdf file.Is it Possible.IF it is please tell me the way. | |
I am creating the Simple Blog from PHP for absolute beginners book. I have worked through the book and my only error now occurs when I am logged in as the admin and try to Post a Blog. The errors I get are: Warning: array_push() expects parameter 1 to be … | |
Hi... i think i need somebody to help me with profit calculation project. here its looks like.  ![]() | |
Hi I am developing an image hosting website.I want images uploaded to go to another server , not the one where the script is hosted.For e.g i want images to be uploaded to http://i1.mysite.com instead of http://mysite.com/uploads Suppose i have this code to upload file to server <form action="http://mysite.com/upload" method="post" … | |
Hello guys or girls. I have copied from http://davidwalsh.name/backup-mysql-database-php and i have the next error: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/a6704458/public_html/backup_cr.php on line 18 And this is the code: <?php include("/home/a6704458/public_html/password_protect.php"); ?> <?php include("database/database.php"); backup_tables($mysql_host,$mysql_user,$mysql_password,'*'); /* backup the db OR just a table … | |
What's your recommendation for PHP MVC frameworks?? i tested Codeigniter and it seem easy to use.... I am not a full time developer, but I do have some customers with backends, etc…My intention is to migrate some of old php code to PDO but I am now wondering if I … | |
hi all, I have a scrap working but it also brings the restred trade mark. I have permission from the company to do this. How do i strip these out? // get simple_html_dom from http://simplehtmldom.sourceforge.net/ include_once('simple_html_dom.php'); // @todo change $url for form input $url = ""; $html = file_get_html($url); // … | |
I have one table named as movie. which contains fields like movie_id, movie_name etc. I want that movie_id in my drop down list. so i have to retrive that data from movie table. I tried my best but i dont get success in this. plz help me to retrive data … | |
Im really new to php so sry for my small answer ? Im reading a book about it and what things this two are ? and what they do ? Numbers_roman::tonumeral($year); and require_once("numbers/roman.php") will be thankfull if a person answers this question |
The End.