39,326 Topics

Member Avatar for
Member Avatar for vijayram

Hi everybody, i created ajax uploader.what is the problem in my code. upload file failed message display. anybody,plz help me. This is the my action file. class pictureActions extends sfActions { /** * This function may update later when plugin is used. */ public function executeUpload(sfWebRequest $request) { $planbook_id = …

Member Avatar for pritaeas
0
127
Member Avatar for phoenix_2000

Hello, For my current project i'm working with a lot of nested arrays and objects. i'd like to be able to see all their values just as vardump does, but that function doesn't go as deep as i'd like. I already tried the krumo library, but it didn't show me …

Member Avatar for pritaeas
0
99
Member Avatar for collinskawere

am getting an error that "Notice: Undefined variable: new_string in C:\wamp\www\plus256 beta\search.p". someone help me figure out wat's wrong coz am goin nuts. <?php include 'header.php'; echo '<div align="center">'; include('class.stemmer.inc'); include('cleaner.php'); include('connect.php'); if(isset($_POST['submit'])){ $search = $_POST['search']; $stemmer = new Stemmer; $stemmed_string = $stemmer->stem($search); $clean_string = new cleaner(); $stemmed_string = $clean_string->parseString($stemmed_string); …

Member Avatar for pzuurveen
0
350
Member Avatar for newbie1234

i made some pages. When i am running on xammp server, its working fine, every form gets submits and i can see data in database. After that i upload on net webserver, here page showing is ok. But when i am submitting the page than data is not comming in …

Member Avatar for phoenix_2000
0
90
Member Avatar for eoop.org

Hi, i am getting this error for an email activation function. can someone help me removing this error message and make it work? ## Error: ## Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/prevpxmj/public_html/core/functions/users.php on line 6 ## Code: ## <?php function activate($email, $email_code){ $email = …

Member Avatar for tyson567
0
207
Member Avatar for prvnkmr449

<?php session_start(); if(!isset($_SESSION['userid'])) { print '<script type="text/javascript">'; print 'alert("Login to submit resume.")'; print '</script>'; header('location:login.html'); }?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> i try every thing still im getting the same problem Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/royal/public_html/submitresume.php:1) in /home/royal/public_html/submitresume.php on line 2 …

Member Avatar for Szabi Zsoldos
0
418
Member Avatar for jamojo

Hello everyone, can you please help me regarding on converting duration to milliseconds. I have a code below working but need to include the hours. I do not know what is the best practice regarding this but please advise. Thanks in advance. list($get_minutes, $get_seconds) = explode(':', '1:27:04'); $minutes = $get_minutes …

Member Avatar for diafol
0
111
Member Avatar for daniel36

Can any body provide me countdown timer script similar to [Website](http://www.groupclone.net/) .I am searching this type of timer from 3 days.Please help me?

Member Avatar for TrustyTony
0
112
Member Avatar for opticblaze

Hi there, I got the following challenge. I have a site that is hosted on a windows 2010 server and i am trying to get the website to send emails. The site runs on Apache 2.2.9, PHP 5.2.6 and we set it up to run on port 6000. I have …

Member Avatar for Squidge
0
191
Member Avatar for ak47carbon

header is not working in iframe tag of html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <iframe src="blog3.php" frameborder="0" width="100%" height="600px" scrolling="yes" ></iframe> </body> </html> and at blog3.php there is a an header command <? ob_start(); ?> …

Member Avatar for diafol
0
184
Member Avatar for emclondon

I'm trying to upload an Image to PHP. The most common method I found out to do this was using FORM/POST; But that doesn't help me for what I am about to do. What I actually am trying to do is upload an image to PHP, the PHP Script will …

Member Avatar for pritaeas
0
685
Member Avatar for GlenRogers

I'm pretty sure this is done with php, but have no idea how to do it! I built a simple website for a friend that owns a reptile shop. But I need to be able to sort it so that he can change/update his own stock list. The stoock list …

Member Avatar for Squidge
0
150
Member Avatar for veledrom

Hi, Let me explain with an example. I have a postcode `NW1 5LR` and its `LATITUDE:51.546069024064 LONGITUDE:-0.235949008191785` coming from user entry. I also have many other postcodes and their Latitide&Longitide values in database. What formula should I use to get only those postcodes which are in 1 mil away maximum? …

Member Avatar for veledrom
0
98
Member Avatar for dwlamb

Good day, I am working on atomizing a template creating includes in a sub-directory called includes and calling them like this <?php include 'includes/head.php'; ?> I have also tried <?php include('includes/head.php'); ?> My page won't load. All I get is a blank browser window. I tried tailing the error.log and …

Member Avatar for Squidge
0
233
Member Avatar for Sorcher

Why is widdit loading on my website? it never stops loading and i havent used widdit before in any codes...etc. The widdit load is ruining my site.

Member Avatar for Widdit_Support
0
93
Member Avatar for mbarandao

Hello: I need to obtain the text value of the select list instead of its numeric value. <select name="categories[]" class="categories" ><option value="0">--Select One--</option><option value="2">BRAKE SYSTEMS</option>.....</select> Based on the code above, I need to be get text Value "BRAKE SYSTEMS: rather than "2". Making the value equal to the text value …

Member Avatar for mbarandao
0
201
Member Avatar for salii

hello, I have a problem with database. there is a syntax error unexpected T_variable. could you please tell me what is the error in this script? thank you

Member Avatar for salii
0
1K
Member Avatar for dgibbons82

I am currently working on a simple survey system for educational purposes. I know it is subject to SQL Injection, but I am new to PHP/MySQL and wanted to learn something basic so I have something to build upon later. Basically, I have an HTML form that processes the PHP …

Member Avatar for broj1
0
5K
Member Avatar for jacob21

Hi, hindi kruti 13 font is not working in form. I also installed again but getting same result. Need advice

Member Avatar for |-|x
0
1K
Member Avatar for PF2G

Hi, i'm working on a website where i select some text from DB according to the language selected: Here's where i define the language (where default = 'pt'): <?php //array $lang = array('pt', 'en'); //iniciar sessao -> array session_start(); //verificar var lang no url -> pagina.php?lang=pt if(isset($_GET['lang']) && in_array($_GET['lang'], $lang)) …

Member Avatar for diafol
0
141
Member Avatar for HTMLperson5

Hi, I am trying to install PHP and have had no sucsess; the steps I have taken are shown below. 1. Download .msi PHP installer 2. Run Installer 3. Download .msi APACHE installer 4. I don't have a webserver! 5. Open PHP 6. Console comes up. 7. Try following code: …

Member Avatar for broj1
0
197
Member Avatar for LastMitch

Hi I have a few questions. **1) I want to put the a text editor in the admin section so I can edit the 'home page' context from the admin section which is in php language (I have no context in the admin created yet, this will be my first …

Member Avatar for dannette
1
4K
Member Avatar for omoayan

I have tried to use this code but I can get it to work well in my server. When I run the mysql query in mysql it gives me the result that I want but within the code it does not output anything. It just gives a blank page. What …

Member Avatar for omoayan
0
140
Member Avatar for phoenix_2000

Hello, For my current project, i'm supposed to write a statistics page that shows data about the presence of persons (or lack thereof) per profitcenter. (To put it roughlu, a profitcenter is a group of persons within this company, a bit like a department) in order to generate the statistics, …

Member Avatar for phoenix_2000
0
128
Member Avatar for mwansari

Hi, I want to know how to replace variables of RTF file using PHP language. Please help me....

Member Avatar for diafol
0
2K
Member Avatar for omoayan

I need someone to assist in finding out the error in this or correct the codes. I want the codes to give me years in the publicationdate from my DB. However, though I am getting the years, I am getting a particular year repeated. If I put journals in for …

Member Avatar for diafol
0
166
Member Avatar for mayreeh

i nid your great help in getting the logic to use in automatic assigning tasks to a given list of individuals...

Member Avatar for diafol
-1
70
Member Avatar for JayVNL

Hi All ! After a few hours of googling around i found this community. I am not sure if i am in the right place, sorry if i am not. I want to build a form with a drop down menu and a few text fields. On load, they are …

Member Avatar for diafol
0
801
Member Avatar for hwoarang69

it keep on printing 1st image from database. but i want to print all the differenct images. $id = $_SESSION['user_id']; //select images from database $sql = "SELECT * FROM image WHERE user_id = $id ORDER BY image_id DESC"; $result = mysql_query($sql); while($row = mysql_fetch_assoc($result)) { <img src="image.php?id='.$row['image_id'].'" /> } image.php …

Member Avatar for xungo2000
0
154
Member Avatar for Kniggles

``this code keeps kicking out the error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/a2595218/public_html/login.php on line 49 with the out-put " The username you enterted was not found " I should be seeing the error " You must active your acount to play. $form";" …

Member Avatar for |-|x
0
285

The End.