38,023 Topics
| |
Hi, I am saving my excel file in my local directory. $objWriter->save("C:/test.xls"); How can i delete(only test.xls) this same excel file from my local directory using php. Please try to solve my problem. Thanks in advance. | |
hi all, I am developing a blog where in the administrator controlled panel I can view users comments in a table format. the problem is now i want to view a link to edit page when i bring the mouse pointer to on a comment then i wish to click … | |
Hey everyone, PHP and MYSQL newbie here.....can really use your help right now. I implemented a Submodal into my script, and finally got it to submit "User Notes" into the database. Unfortunately with each new submission, the text that is submitted overwrites the previous submission. I was told to use … | |
hi all, I am new to php and was trying to send an email . i got the code from w3school site. [url]http://www.w3schools...hp/php_mail.asp[/url] but when I run the code i got this error. Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" … | |
Hello. I have no idea how, so i'll ask you. I need /s/index.php?i=123 to be /s/123 any direction or tips would be appreciated! cheers, Sorcher | |
Please how do I apply search form to my website to search out files from my site if searched, Please how do I type the form, can someone give me the sample out here, How do I relate the search form to the files that I have in my site … | |
Dear Friends, Am trying to builing a social networking site that user can post his update on profile text bat. Once we click on the share button the text field value will pass to the function of xmlHTTP request, but here is not passing a value. Please help me. I … | |
Hi All, I need to be able to send bulk emails (somewhere in the thousands) for the online service I am planning on providing. Is there an online service (preferably, a web service api) that I can use to send bulk emails? Are there any other options other than running … | |
I keep getting an unexpected$end parse error on line 32, but that line doesn't exist. I can't seem to find what is causing the problem. This is driving me crazy. [CODE]<!doctype html public "-//W3C//DTD HTML 4.0 //EN"> <html> <head> <title>Your Output</title> </head> <body> <h1>Your Output</h1> <center> <? $basicText = $_REQUEST["basicText"]; … | |
<html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> <input type="submit" name="submit" value="Submit" /> </form> </body> </html> <?php if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/pjpeg")) && ($_FILES["file"]["size"] > 20000)) { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " … | |
I've recently used mod_rewrite and changed my .htaccess allowing clean urls. Is there a tutorial that tells me how to use $_GET with a clean url? for instance how do i get the name with the clean url($_GET method)? messy url[code]example.com/play.php?id=203&name=test[/code] clean url[code]example.com/videos/play/203/test[/code] also when using forms is it as … | |
Hi, I am generating an excel list using PHPExcel class. That generating excel list, should be mailed out to the particular person. Can you please help me out. Thanks in advance | |
how can i create an xml file of datas in a database??see actually i have a database "data" and 3 tables named "gold","silver","normal".These three tables contains a lot of records as well...i just want the code to generate the xml file of the database "data". i want to retrieve the … | |
Just when I thought I was out of the woods on this application, I decided to block someone that simply clicks the Submit button without entering any data. I looked up the use for "if (empty($field) == TRUE" and i was pretty certain I had it right,. I still had … | |
I need a pvp system and tutorial please XD it is simple... just a turn based pvp system help pls :P | |
Hey, I have a .htaccess file but I wanted to know if you can make the file check if a directory exists and if it does go to there and ignore the commands... such as ROOTURL/category/page/ this changed the URL to index.php?cat=$&page=$ but say I put in ROOTURL/dan/ and that … | |
I'm trying to populate the city select box based on the selected state (which is also a select box) using Ajax. When i select state, the city select box is not being populated. There are 5 models below: Student, MerryParent, MerryClass, State, City. All of them are related to one … | |
Hi, I'm new here. i have a problem with forms, i have forms divided in sections, 3 forms in total. 1st for general information, 2nd for company information and the 3rd one for finance information. i want to save all information in database only when 3rd form is filled, i … | |
I need some help regarding pagination. whenever i searched for a record, the pagination doesnt work but it still show the results. here are my codes index.php [CODE] <html> <head> <title>Paginating Your Data with AJAX and Awesome PHP Pagination Class</title> <form action="index.php" method="post" name="searchdb" id="searchdb"> <table> <tr> <td><tr> <input type="text" … | |
i need help in adding $data into datatable data.setvalue where will be used to generate column chart. first column = x-axis while the rest of the columns = elements. thanks in advance. [CODE] <?php $result=mssql_fetch_array($row); // $result already in correct structure. $data = json_encode($result); ?> <html> <head> <script type="text/javascript" src="https://www.google.com/jsapi"></script> … | |
Alright, so I have been o this for quite sometime. I am building a Facebook application with Wordpress and have a question. I have the app integrated into my fanpage and that works fine. The only problem is, whenever a user clicks a page inside the iFrame, it should be … | |
| OK a lot of developers out there use CMS to design their clients' websites. Among them wordpress seems to rank amongst the top five and I can totally see why. This thread is for all the useful resources you know of using wordpress. I'll start this one off. An absolute … |
Hi All! I'm apparently doing something very wrong here... I can't get my soap client to send the security certificate which a valid .pem file and because of that the subsequent calls are failing. What do I have to do to get the soap client to send the pem file? … | |
Can you all tell me the difference in these 2 codes? I'm trying to learn JQuery and ive seen this code below in the tutorials. [CODE] $DB->Query("Select * FROM time"); [/CODE] I'm use to coding queries like this. [CODE] $res = mysql_query("SELECT timestamp, name FROM time ORDER BY timestamp DESC"); … | |
Hi, I'm new to PHP, but not to computer programming. I'm trying to connect to ny MySQL database and thought I followed what the tutorial said exactly. Obviously not. I realize that this is an error indicating a missing control character, but I have no clue as to what it … | |
[CODE]Hi all... I'm making a php interface to start, stop and control a program running on a windows pc. At the moment I can start it with [CODE="php"]pclose(popen('start c:\users\server\mtaserver.exe',"r"));[/CODE] and stop it with [CODE="php"]pclose(popen('taskkill /F /IM mtaserver.exe',"r"));[/CODE] both of which use windows tools to operate, they then get killed allowing … | |
Let's say this is an unknown error, possibly a syntax error, possibly an HTML error - I can't be sure. Hey there, I'm a PHP expert, but not so well with JQuery - I'm just starting out with JS in general. I have a PHP based site I am working … | |
hi all, IN my web site Users can put comments, Administrartor can view them and give permistion to print or not. problem is when user put comments with out braking the lines. then comment will be printed in a single line and it wil jumble the format of the site. … | |
I am reading a book and I am in a chapter where it shows how you can create web forms using php. The problem is that I am getting confused by this switching of the code. I give you an example : [CODE] <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” … | |
I have table B that has reference to table A. I need to insert value to table B's foreign key. How to do it using PHP? Do I need to use mysql_insert_id()? |
The End.