473,609 Members | 2,296 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.
1
1,069
Ada Peterson
thread by: Ada Peterson | last post Apr 8 '15 by: Dormilich
I'm a begginner, please help me, I can't fix the internal server error in wordPress. Any advice ?
3
2,943
thread by: gintare | last post Apr 7 '15 by: gintare
I am attending online course about MVC https://www.udemy.com/learn-php-model-view-controller-pattern-php-mvc/#/lecture/2201044 By idea if I try http://localhost/MVCfirst/public/ it should try to open index.php : C:\Bitnami\wampstack-5.4.38-0\apache2\htdocs\MVCfirst\public\index.php this file requires boostrap file ...
2
1,590
thread by: skyshake | last post Apr 7 '15 by: Dormilich
i have create a table with alphanumeri id number but when i want to retreive my image i got this error kindly help <?php include "file_constants.php"; // just so we know it is broken error_reporting(E_ALL);
1
1,201
thread by: gintare | last post Apr 6 '15 by: gintare
I follow online course about Symfony. https://www.udemy.com/introduction-to-web-development-with-symfony2/#/lecture/934594 In lecture 79 they create service for Author: myproject\src\Blog\CoreBundle\Controller\AuthorController.php class AuthorController extends Controller { public function showAction($slug)
2
13,187
thread by: gintare | last post Apr 6 '15 by: gintare
Related files: myproject\src\Blog\ModelBundle\Entity\Post.php class Post{ private $id; private $title; private $slug; private $body; private $author; private $comments;
0
993
thread by: reedma1 | last post Apr 5 '15 by: reedma1
I have a table called FACULTY that has FacultyID, FName, and LName in it. That table is prepopulated with information. I can use a dynamic dropdown to get those values to show up on the page. MY ISSUE: I also have a publication table that is being connected to each faculty. I want to be able to select multiple faculty and send those ID's (in...
2
1,537
thread by: jaad | last post Apr 3 '15 by: jaad
Hi, I am an MS Access user trying to move an application on the web with php and mysql. I have two questions: #1 I have followed a tutorial and was able to establish a page. The problem I am having at this time is not being able to save the uploaded file with the correct file name(with time() function added to the filename.) to Mysql. it...
0
1,268
thread by: TanuLamba15 | last post Apr 2 '15 by: TanuLamba15
Hi All, Can anyone guide me I want to send attachment with my mail and I'm using http://demo.tutorialzine.com/2013/05/mini-ajax-file-upload-form/ plugin instead of simple <input type="file"/>, the issue is occurring when I'm sending mail using above given plugin I'm not receiving attachment and when I'm simply put <input type="file"/> it works...
3
1,706
thread by: manjava | last post Apr 1 '15 by: Dormilich
so i want update if exist this id on table else i want to insert add the data .public function addUpdateCust(array $data) { if(!empty($data)) { if($this->update($data, array('id = ?' => $data)) > 0 ) { return true; } $row = $this->createRow();
1
1,235
thread by: mrijet | last post Apr 1 '15 by: Dormilich
Hey all, Can I asking something....did you have anyway or any simple coding to upload file such microsoft word and image... This coding below are not working for uploaded... <?php if (isset($_POST)) { $id=$_POST;
1
1,277
thread by: TaranVarj | last post Apr 1 '15 by: Dormilich
I would like to log php errors in production to capture any code errors so that I can debug them. Where would I add this? Do I do it in the code? Is there a configuration file? How would I modify it? What should I modify?
1
1,178
thread by: kadymille | last post Mar 30 '15 by: Claus Mygind
I'm really a beginner in php. We are having a thesis and my project was web based voting system for student. Here's my problem. I have to add a partylist that will automatically put in the select(option). What would be the codes. Please I'm begging you to help me Please.
0
1,845
thread by: mrijet | last post Mar 30 '15 by: mrijet
Below is the code upload image...but I couldn't see the error.. <?php if (isset($_POST)) { $id = $_POST; move_uploaded_file($_FILES,"images/".$id.".jpg"); echo "Successfully upload!"; } ?>
1
1,242
thread by: nrbtest | last post Mar 26 '15 by: Exequiel
I would like to connect our company database for employees to an PHP application. The application would grab the latest employee information and then convert into a format to be used by the application and it's web database which is MySQL. Is there a wrapper to connect to an Access Database?
0
2,922
thread by: gunkaran | last post Mar 24 '15 by: gunkaran
Hi guys, I have a problem. I have created a login system where user can register their login details before they login to website, to register they have to provide there email address but I have problem that I can register same email thousand times. How can I stop registering sameemail second time using AJAX. Any help will be appreciated. ...
2
2,420
thread by: gintare | last post Mar 23 '15 by: gintare
I am following course: https://www.udemy.com/introduction-to-web-development-with-symfony2/#/lecture/933870 Lecture 38. In short, they explain how to create Blog website. There are Model and Core bundles. There are Author and Post entities in Model bundle (Author and Post controllers in Core bundle). I have successfully created slug...
0
1,269
thread by: gintare | last post Mar 22 '15 by: gintare
I am following Udemy course: https://www.udemy.com/introduction-to-web-development-with-symfony2/#/lecture/933836 There is Post model with several fields: title, author, body; which inherits from Timestampable model with field: createdAt. When i try to display Post model in template, the Author and post are displayed, but field "createdAt"...
5
1,759
thread by: ciro07 | last post Mar 18 '15 by: ciro07
Im doing a small project at work. This needs an input form that accepts only (+) plus (-) minus, with a resulting out put of 1 for plus and 0 (zero) for minus.
17
3,283
thread by: talk2tim | last post Mar 17 '15 by: talk2tim
Hello Folks. Thanks for all the help i have received here. I was trying to write an upload file. It was ok until i began error reporting. First i tried to inspect the file uploaded by asking the print_r to show the associate array of name, type, size, tmp_name and error. It works all right but it gives this error just as i load the page ...
33
1,919
thread by: virenderkanger | last post Mar 17 '15 by: Dormilich
echo "<td>".'<input type="text" name="date_from" class="datepicker">'."</td>";
0
2,002
thread by: gintare | last post Mar 15 '15 by: gintare
The question is how to tell to doctrine:migration:diff to generate migration for certain entity (there are several entities and in my case diff recognise only the first of them "Workout", does not recognise "Author" and "Post")? Maybe i should use some other command than "doctrine:migration:diff" ? Windows 7, Bitnami WAMP Stack 5.4.38-0...
0
1,062
thread by: wx0417 | last post Mar 13 '15 by: wx0417
I am new to PHP, but I'm wondering if someone can point me in the right direction for decoding a file. Below is the file copied and pasted. I want only the Cell ID, probability of hail, probability of severe hail, and max hail size expected for each of the storm cells. I wasn't sure how to go about this since it looks to have some binary in it....
6
1,584
thread by: abhishekphukan | last post Mar 13 '15 by: abhishekphukan
(Can anyone explain me the if satetment in this example neatly...i m not getting at all.. Thank You!!!) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Fibonacci sequence</title> ...
1
1,739
thread by: sud0074 | last post Mar 12 '15 by: longsword
Hello there I am new in PHP so i don't know how to solve this problem please help me out 1Eror- Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/abc/public_html/Demo2/system/library/response.php:1) in /home/abc/public_html/Demo2/system/library/session.php on line 13 2 Erro-...
1
1,146
thread by: TanuLamba15 | last post Mar 12 '15 by: Dormilich
Hi All, I want attachment to send with the email when a prospect clicks on submit button. I used this code: $allowed = array( 'jpg', 'gif','zip'); if(isset($_FILES) && $_FILES == 0){

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.