39,388 Topics
![]() | |
Hello everyone, I'm just wondering if there is another of calling functions in a different php file without making the app run strangley. So what I have got are a few forms without specifying their action. <?php 1- checking for the fields 2- if they are not empty and so … | |
I am trying to creat a profile accourding to user input but getting many errors: here is my code public class Profile { public Profile() { } // method public string getMSG() { return "What do you look like"; } private string _eyecolor; public string eyeColor(); get {return _eyecolor} set … | |
( ! ) SCREAM: Error suppression ignored for ( ! ) Fatal error: Call to undefined function session_is_registered() in C:\wamp\www\attendance\include\checksession.php on line 3 Call Stack # Time Memory Function Location 1 0.0010 183576 {main}( ) ..\admin.php:0 2 0.0015 185696 include_once( 'C:\wamp\www\attendance\include\checksession.php' ) ..\admin.php:3 <?php session_start(); if( !session_is_registered("ulogin")) { header("Location:login.php?invalid=2"); } … | |
I'm trying to add a "checked statement" based upon the users value already entered into the database. I've designed the database side as q1,q2 etc and have a single varchar with an "a","b", or "c". I basically want the code to retrieve the answer and put it into the checkbox … | |
Hello, I'm trying to automate downloading from turbobit.net through php, i login successfully and get all the cookies. then when i try to intiate another connection to download a file i get these headers back > HTTP/1.1 200 OK Date: Thu, 26 Jul 2012 17:44:02 GMT Content-Type: text / html; … | |
Ok I have a program that uses HTML to get some values from a user using a form and then it is passed into a javascript function that does some calculations with these numbers and creates a new variable name. What I need help with is that I want to … | |
i want to give sms sending service through my website plz tell me how to send sms through php tell me in detail | |
If you post a status update or share a link on facebook there is an option to tag your friends as being 'with you'. It's not the same as tagging them with @ symbols. here is an example: [http://www.facebook.com/karin.ohara....11246132363889](http://www.facebook.com/karin.ohara.98/posts/111246132363889) I'm trying to code this myself in php. It works for … ![]() | |
I am new to php.I was trying to upload a file but i got an HTML table as result with undefined content type.Here is my code <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link href="fileuploader.css" rel="stylesheet" type="text/css"> <script src="fileuploader.js" type="text/javascript"></script> <script> function createUploader(){ // alert("hhh"); var uploader = new qq.FileUploader({ … | |
Hello all, I have a small problem with javascript and php what am trying to do is re-code the following script so that the items array uses a php script and a loop to gets information from a database but i dont know how to go about it can anyone … | |
Hi, I have made a small program that enables a user to upload an image and gets it sent back to the users email with a watermark on it. The place where the user uploads the image is in an ajax colorbox and in order for it to send the … | |
can i insert filename into database with uploading file with plupload?please tell me i am new to plupload. | |
Can anybody tell me about a opensource uploader that can upload file with post variables.I need it. | |
hello guys how are you i wrote this code but i have an proplem i can not verify if there is no file uploaded when anyone hit submit and i can not specific the allowed extinsion for example "jpg" how can i do this in "foreach", i can do this … | |
hi frnds, i am doing a project related to food items.. here i took different categories like restaurants,pubs,foodfestivals,hangouts... and also i took diffrent tables for each category in database.. each table having area,rname...now i need to search what ever user typed in textbox(area,rname) from database. plz give any suggestions asap.. | |
I have the exact function with image resize on my site, but I would like to add the watermark to the same function, I tried with many options, but nothing worked. Can someone help me to add watermark function please code as follow function do_resize_image($file, $width = 0, $height = … | |
Hi all , I want to create a search page like csoft.com . Open the site in a browser and enter "wiseimage" in search option left side of the page Search ,search the site and enter "wiseimage" and see the result. According the result of this site I want to … | |
Hi! I am trying to upload images to teambox.com using curl and php, but I always get the error "Invalid file name", "you can't upload a blank file", and "Invalid Record". Any suggestions on how to fix it? here's my code: $fields = array( 'file' => file_get_contents($_FILES['upload_field_'.$task_id]['tmp_name']) ); $fields_string = … | |
Hello, i'm working on a script and I want to make the links such as www.mysite.com/signup. this link for registration www.mysite.com/user/username and this link for user's profile. the links without any extention how can I do that? | |
Hi all, ive been researching user management programs on codecanyon.net, and ive got a few programs in mind. the only issue i have is redirecting users of certain groups to a different parts of the website. is it a good idea to have them login and then have them redirect … | |
Hello,I am starting PHP.So please help me.This code for a simple convertor in php just convert Dollar to local currency.here my **Elseif** not correctly working.here is code: <html> <head> <title>currency Convert</title> </head> <body> <form action="" method="POST"> <table> <tr> <td> <lebel>$</label> <input type="text" name="amount"/> to <select name="form"> <option value="taka">taka</option> <option value="rupe">rupe</option> … | |
Hello, am working with the date function in a php file, however the text "at" is not being rendered properly: Initial code: "Online reservation form submitted on " . date ("d/m/y \at\ H:i") . "\n\n" . Rendered value: Online reservation form submitted on 29/09/12 a30 11:52 Where instead of "at" … | |
I have a problem on how to be able to tick the checkboxes chosen during registration. If i will update 1 record for example a student, his/her chosen, example his/her interests will be ticked during update. | |
i m traying this simples code but nothing is displayed what type of problem showld be. <?php function yourname($name) { echo "Your name is" .$name; } yourname("andi"); ?> another code <?php $age= 18; if ($age>=21) { echo 'alan'; }else{ echo 'bob'; } ?> | |
Hi All See the code give given below. I was fighting with this code since last 5 hours to know why isset() is eveluating the condition as false if value is posted exactly what it shall POST. If I uncomment the line no. - 4,5,6,7,8 and put rest of the … ![]() | |
![]() | Hi I'm still having trouble understand arrays since I join Daniweb a few months ago. I thought I got a handle it but it seems I need to practice more and write more arrays correctly. This the issue I'm having I can't `echo` the words <?php $printer_machine = array("Copier", "Inkjet", … ![]() |
I've set up a small php file called phpinfo.php the script is below. <!DOCTYPE html PUBLIC "_//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/ xhtml-transitional.dtd"> <html xmlns="http://www.w3.org/1999/ xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/tml; charset=utf-8" /> <title>First PHP Script</title> </head> <body> <?php phpinfo(); ?> </body> </html> I've already installed both php5 and apache2, … | |
Hello, I tried finding something on internet, but it seems that all CMS's that support file sharing are with a lot of additional functions that I don't need this time. I'm looking for a system that would provide dropbox functionality - file exchange between people (No need for pc sync) … ![]() | |
Hey there DaniWeb! I have been working a little bit on a framework, and i've came to a little problem:( I want my URL's to be like CodeIgniters where it'll be: site.com/modulename/function/arg1/arg2/arg3 and so on.. and i was thinking it could be be done with something like this (pseudo-code): $args … ![]() | |
Hi so I'm making a site for sneakers. A person can sign up and say they like Nikes, Vans, Reeboks, etc. I then have it where you can make a group for people who like certain sneakers as well. So the group can say they like Nikes, Vans, Reeboks, etc. … |
The End.