39,326 Topics

Member Avatar for
Member Avatar for joshl_1995

Hello Community, I was wondering if i can get some help with the 4shared php api. [Here](http://www.4shared.com/developer/docs/samples/#PHP) is a sample on how to upload a file. But now i need to know how to delete a file, by the way i have never used an api. Please Help...

Member Avatar for pritaeas
0
272
Member Avatar for johnef_sh

hay I have this code to upload images it works OK bu there is 2 things not working 1- when the image has the same name it doesn't display the message "A file of the same name already exists" it just give me this Notice "Notice: Undefined variable: success in …

Member Avatar for LastMitch
0
310
Member Avatar for bradly.spicer

Hey guys, as part of my project I am trying to make it so each record in my database has it's own page in a fashion similar to: http://domain.com/Customer.php?customer_name="John Doe" And this will echo all the information in the table about John Doe. (In the future I would like to …

Member Avatar for LastMitch
0
123
Member Avatar for amit.mondal.31

**how can i pass an associative array and fetch that same array in submitted page with key=>value format. ** <?php //I SUBMIT a.phhp PAGE IN THIS PAGE// $f=$_REQUEST['1'];//1st input field value of a.php page $s=$_REQUEST['2'];//1st input field value of a.php page $t=$_REQUEST['3'];//1st input field value of a.php page $sub=$_REQUEST['s']; $arr=array($f,$s,$t); …

Member Avatar for diafol
0
176
Member Avatar for everton.retweets

Hi Everyone, I am helping a good friend of mine to design a website, but we have got a bit stuck - Hoping someone can help us out. We are trying to add a var from our database into the header location. like this - header( "Location: resend.php?activate=$mobnumid"); Here is …

Member Avatar for everton.retweets
0
176
Member Avatar for hwoarang69

how to save value from drop menu by using php. <select name = 'color'> <option value='black'>Black</option> <option value='gray'>Gray</option> <option value='white'>White</option> </select> i am saving the value from text field by doing this. i am thinking if i can do some thing like this in drop down menu. <input type="text" name="username" …

Member Avatar for diafol
0
228
Member Avatar for toredor

Hi, I have a problem with the encoding of the Russian language in the transfer xlsx file into MySQL database. On the this page http://gefestholding.ru/modul/ you can see my efforts. Can anyone advise me how to set encoding? To convert using php class (SimpleXLSX.class). Thank you for your answer.

Member Avatar for diafol
0
163
Member Avatar for manumohantkd

I want to send mail from my php site. But i dont have any idea about how to configur it. I am using BigRock Hosting service. And the code below shown is using now as the sendmail.php page to send mail.. <?php $to = $to; $subject = "My subject here"; …

Member Avatar for diafol
0
325
Member Avatar for xxwikkixx

Hey everyone I am trying to create a function in php that will take the question that the user enters on the website and store it in an array. here is my code but I highly doubt its right: <?php class Enligne_Model_DbTables_Users extends Zend_Db_Table_Abstract { protected $eilgne_Questions = null; protected …

Member Avatar for diafol
0
140
Member Avatar for jacksantho
Member Avatar for diafol
0
117
Member Avatar for Whilliam

Hey guys, I want to know how to program a search engine that looks for keywords from different websites. I know how to program search engines themselves if you're searching specific items from your website. What I want to know is searching for specific words all over the internet. E.g. …

Member Avatar for cereal
0
95
Member Avatar for ehpratah

Hi to All Just wondering how cn i achieve something like this example i select **January** for the first list menu and select **2013** for the second one now what im trying to achieve here is how to show all the data for the said month and year without submitting …

Member Avatar for diafol
0
103
Member Avatar for QuaminaIT

I'm trying to do a simple contact form and have it send to an e-mail but its giving me an error after clicking submit. Here's my code: <form action="contact.php" method="post"> <fieldset> <legend>Contact Information</legend> First Name: <input type="text" name="fname" id="fname" value="" /><br /> Last Name: <input type="text" name="lname" id="lname" value="" /><br …

Member Avatar for AARTI SHRIVAS
0
243
Member Avatar for hwoarang69

not sure why this mail isnt working. when i run this code i get a error: Mail error SMTP Error: Could not connect to SMTP host. i set up a if test which is failing. doesnt any one know how to connect to smtp host? does this smtp means the …

Member Avatar for AARTI SHRIVAS
0
300
Member Avatar for randomkid73

I'm attempting to make a web-based scheduling system, but I'm having trouble figuring out how to make it work in the best manner. First, the current table structure: **shifts** Shift_ID (pk) Event_ID (fk) Dept_ID (fk) Start End **shifts_assigned** Entry_ID (pk) Shift_ID (fk) User_ID (fk) DateAssigned Position Notes Where pk is …

Member Avatar for randomkid73
0
264
Member Avatar for khushhappy

Dear All, i want to make a program through which, our chairman gets a prompt message one day before a deadline of a specific event comes. In database, il make a database fields like, **serialno, file, intial date, deadline date, status** how a user to get a deadline prompt message …

Member Avatar for diafol
0
348
Member Avatar for arjani10

Hello! I need help about how can i do my content show just first time, when i click secocond time in that page have a blank page ,and latter appeard that after 1 hour, how can i do whith php code ?Can somebody help me please about it? Thank you …

Member Avatar for diafol
0
218
Member Avatar for pedal123

I also have a string stored in a session variable but can't figure out how to get it back out again... THIS CODE IS PAGE 1. <form action="page1.php" method="post" id="register-form" novalidate="novalidate"> <b>Postcode:</b> <input type="text" name="search" /> (required)<br /> <?php @session_start(); if (empty($_POST['search']) && isset($_POST['submit'])){ echo'Please enter postcode i.e. ZZZZ'; } …

Member Avatar for broj1
0
3K
Member Avatar for daniel.conlinjr.1

Fatal error: Call to a member function add_content() on a non-object here is my index: <?php include ('lib/connect.php'); include('lib/nav.php'); if($_POST['add']): $obj->add_content($_POST); endif ?> Here is my function: <?php function add_content($p) { $title = mysql_real_eacape_string($p['title']); $body = mysql_real_eacape_string($p['body']); if(!$title || !$body): if(!$title): echo"The Title is required"; endif; if(!body): echo"The Body is …

Member Avatar for daniel.conlinjr.1
0
293
Member Avatar for zjony.rashed

Hi,I can't display Multiple checkbox save value in my veiw page. Here is insert/save value details: Model --------- public function saveInstituteOfferdCourse($data = array()) { if ($this->db->insert('tbl_course_offred', $data)) { return $this->db->insert_id(); // tbl_course_offred = "Table name" } return FALSE; } ---------- Controller ---------- public function saveCourses() { $data = array(); $this->load->library('form_validation'); …

Member Avatar for veedeoo
0
275
Member Avatar for jasonmark238

Hi friends, Waht are the differences between Sessions and cookies in PHP? Please explain with examples. Thanks & Regards Jasonmark

Member Avatar for diafol
0
252
Member Avatar for shuka79

Hi Guys I am currently using the opendir to display all files and folders in a specific directory code below. It displays great however it display each file twice. If it is a folder then it will just display once. I have check the folder on the server and there …

Member Avatar for shuka79
0
172
Member Avatar for bradly.spicer

Hey, Been writing my own php snippet but I'm having a few issues. I have a drop down which is populated by the mysql db however when I click delete it runs an action and throws an error. Form: <form action="deleteuserform.php"> <select> <?php $sql="SELECT id,customer_name FROM Customers"; $result =mysql_query($sql); while …

Member Avatar for remunance
0
234
Member Avatar for bradly.spicer

This isn't so much a help thread more of a discussion. I have this idea that once I have a lot of users in a database that I can then grab them from a drop down and place them into the template like a webpage etc which can be printed …

Member Avatar for diafol
0
43
Member Avatar for <M/>

I have a php file that reads a csv file and pulls the data and displays it on the site. But unfortunately I don't know why it creates an extra line which sets the counter to go wrong... How do i fix that? This is my code: <style> table{width:100%; border-collapse:collapse; …

Member Avatar for <M/>
1
1K
Member Avatar for anandschiru

How to extract an article which is a html page from a rss feed in php.

Member Avatar for diafol
0
112
Member Avatar for GraficRegret

I have been searching all morning and I cant seem to find a reliable source for a decent slideshow script, I am working on creating one myself now, if anyone has any helpfull hints or tips, or even if you have some code snipets that would be usefull for my …

Member Avatar for GraficRegret
0
1K
Member Avatar for McLaren

Hello, I am thinking about making one small project with PHP, javascript, becasue I don't have experience in other languages too much. It would be something like addition to a windows program which uses postgre sql database. I see that I can make one feature from that database. For me …

Member Avatar for McLaren
0
251
Member Avatar for anandschiru

I want to extract the contents from the below link using Rssfeed in php. plz help me someone. i hvae tried all the possibilites,i am not getting. http://www.jacionline.org/current.rss

Member Avatar for blocblue
0
165
Member Avatar for bradly.spicer

Hey all, Recently been working on a website which now looks REALLY good in FF and Chrome however in IE it looks absolutely terrible... is it possible to make it so anyone who goes to the site on Internet explorer is automatically taken elsewhere? like a new directory? Thanks

Member Avatar for bradly.spicer
0
194

The End.