39,326 Topics
| |
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. ![help_me](/attachments/large/3/help_me.jpg "help_me") | |
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 | |
Hi all; i need a php code to make a user profile page for my website i need this code ASAP: below are the variables being used: Name, Age, Mobilenuber, Address, Username and Password (MD5 encrypted). All suggestions are welcome but please help me. | |
I am using the linux OS to create an web application using PHP. In this I want to upload a file and move to a folder.I want to move the file up to the size of 25 MB. I used the code ini_set('max_upload_filesize', '25M'); But its not working. Is there … | |
hi all: i am trying to use this code to login to members area but everytime i try to login with a registered user it redirects to the registration page please help. below is the code: <?php session_start(); $uname="root"; $pword=""; $host="localhost"; $database="spl"; $Username=$_POST['Username']; $Password = MD5($_POST['Password']); $_SESSION['Username']=$Username; mysql_connect("$host", "$uname", "$pword")or … | |
Hi I have used Curl to obtain a webpage (stored in a variable called $result). Within this webpage I just want to obtain specific content that is within a certain DIV tag. Here is the part of the page that contains the DIV tag that I am interested in: <div … | |
Here is some code (snippet) from a function I have that takes a users "user_name" and "password" as parameters. There is an if else statement that triggers along the way, basically, if there is a value $v, then it look ups the users user_name and password in a table and … | |
Hey, I was wondering if someone would be able to tell me how I can let a user fill out a form and it would create a page with that information for other people to see (Sort of like a forum). I currently have no code for this but I … | |
Hi, How could I generate a new number/ID for a new line in my database? Tell me if I'm not clear enough. Thanks | |
hi; i am facing this trouble in paginatoin " Notice: Undefined index: start in F:\wamp\www\Cybertraders\demo_paging1.php on line 16 " $page_name="demo_paging1.php"; $start=$_GET['start']; > the upper line is line 16 if(strlen($start) > 0 and !is_numeric($start)){ echo "Data Error"; exit; } | |
Hello everyone, i read all the discussion about "web scraping" here in DaniWeb forum but i didn't found a solution to my problem. I have to extract "title" and "content" of news from a website. I wrote (after reading a lot of "tutorial") these lines: $dom = new DOMDocument(); $dom->load('http://www.php.net'); … | |
<select name="header"> foreach(options_typography_get_google_fonts() as $face2) { echo '<option id="fontface2"'; echo 'name="fontface2"'; echo 'value="'; echo $face2; echo '"/>'; echo $face2; echo '</option>'; echo '<br />'; } ?> </select> I have stored the chosen value from the drop down list into a session. What I am trying to accomplish is "selecting" the … | |
Hello everyones. I have a problem: I created the code to update a database. Everything work( no error message0 but when I go to see the table in the place where needed to be the updated information is nothing(""). Please help! The file who update the information(ap1i_moc.php) <?php // Conectare … | |
Hi, I have not touch flash in years and decided to brush up on it once more. I notice I have forgotten a lot of things. I created the look that I want in flash but I am having problem what to do next once a person hit the submit … | |
Hi I have created a mail id for my website as info@domainname.com. I want to get all the mails to info in to my personal mail id in gmail directly. I heard i can achieve this functionality by changing the mx records. Can anybody help me to change it properly. … | |
I have a simple question about regular expression and Im new to php so sry about my bad questions , what is the meaning of ^ and $ in regular expression and please give examples that if we dont put them it will go wrong . thank you | |
Hey guyz, I am here again with a PHP issue... I need to upload an image and create a thumbnail for the same. Yeah it's so simple. But the difficult part is that the user will create the thumbnail (not crop) by his own choice. Please help. |
The End.