39,316 Topics

Member Avatar for
Member Avatar for aithabuddy

Hi I have an array of format Array ( [1] => Array ( [1] => Array ( [27] => C1 [28] => Y1 ) [2] => Array ( [31] => C2 [32] => Y2 ) [3] => Array ( [34] => C3 [35] => Y3 ) ) [2] => Array …

Member Avatar for diafol
0
161
Member Avatar for xianamersu

How to I check for existing username without using mysql in php? I tried something like this but it isnt working. Please help. Thanks. Strictly no SQL... $name=$nme; $name = file("datatext/users.txt"); $ic=file("datatext/users.txt"); if (this.$nme== $name) { echo "this user exits, please log in"; }

Member Avatar for diafol
0
342
Member Avatar for lloyd.farrell.7

Hi everyone, got really strange issue with a template I have started to build. I am continually getting the follwing error message Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent Even though the only code I have on my page is <?php session_start(); ?> <!DOCTYPE html> …

Member Avatar for minitauros
0
381
Member Avatar for 4fridi

I have script which has search engine to find mp3 songs, i need that if someone search the site with free mp3 songs or mp3 free songs both keywords has free keyword. i have redirected with header(); function through my coding in php but what about previously indexed urls with …

Member Avatar for 4fridi
0
291
Member Avatar for Borzoi

Hi everyone. It's been a while since I've needed help with a PHP problem. Hopefully someone here knows what I'm doing wrong because I can't see it. I am trying to use rename() to rename an image file which is in a subdirectory of a subdirectory the script is running …

Member Avatar for Borzoi
0
215
Member Avatar for mpc123

Hi I am trying to get to download images into a file from database field urls onto my server as there is lots of them. I think im on the right track. I currently have an error Parse error: syntax error, unexpected T_STRING in getimages.php on line 11 Hope someone …

Member Avatar for mpc123
0
142
Member Avatar for wplay

Hi all, I'm currently using imagemagick to resize gifs for my site. But the compression doesn't seem really good. I've already tried optimizing it the best way I could, but it isn't satisfactory. Does anyone have recommendations for a better option? Tumblr's gif compression seems to be the best I've …

Member Avatar for pritaeas
0
271
Member Avatar for rolanduk

Hy All Im here again to ask for you help. I still in the begining to launch the site, and i found a major error. The theory is the following. I planning to start a Pay per download site, which mean the members upload a file and when somebody want …

Member Avatar for rolanduk
0
311
Member Avatar for aqualove

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="icon" type="image/png" href="images/ump-logo.png" /> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Universiti Malaysia Sabah</title> <link rel="stylesheet" href="jquery.mobile-1.0.min.css" /> <link rel="stylesheet" href="_assets/css/jqm-docs.css"/> <script src="jquery.js"></script> <script src="_assets/js/jqm-docs.js"></script> <script src="jquery.mobile-1.0.min.js"></script> </head> <body> <div data-role="page" class="type-index"> <div data-role="header" data-theme="f"> <h1>Sistem Kompaun Pelajar</h1> <a …

Member Avatar for Webville312
0
182
Member Avatar for bradly.spicer

Hey all, Been trying to work this out. But I'm stumped! Got a database running on Moodle. Want to create an external script which uses the usernames and passwords from the table moodle_user and the db Profiled_Moodle. Here is my page so far: <?php include 'header/config.php';?> <div id="Container"> <?php if …

Member Avatar for bradly.spicer
0
193
Member Avatar for Priti_P

Hello there, Does anyone know about following google calender issue: I had code for google calender invitation. But due to some reson I add patch over there which fetches some extra information and merge in the body of that mail. But what I found is : when I add patch …

Member Avatar for Priti_P
0
164
Member Avatar for muralibobby2015

i just want to add html text to the famous image slider supersized. This is their demo page : [url]http://buildinternet.com/project/supersized/slideshow/3.2/demo.html[/url]. i want to display title for each slider. how to do this? anybody suggestions thanks

Member Avatar for LastMitch
0
274
Member Avatar for joshfizzle

I've noticed there isn't a php forum in the software development section. It would be cool if one could get created.

Member Avatar for joshfizzle
0
72
Member Avatar for varunsara

Guys, please let me know is anybody aware of the below doubt. php taking hosting server date and time but am in need to find the client time and date who accesing the site. otherwise how to find the date & time in server time zone .

Member Avatar for eburlea
0
371
Member Avatar for bobyx

Hello,everybody.I am designing a web site with Joomla v1.5 .And I want to display 10 images which are in .jpg format [1.jpg to 10.jpg] as a slide show on the top of all my web pages,I mean that;those images displayed one after one and repeatedly and automatically. Would you please …

Member Avatar for LastMitch
0
194
Member Avatar for amkaos

Hi: i search as to why my database wont send out emails and find this forum. i find the exact code im using in this forum.. it originally is for xaamp. i need to have it work from my server: http://www.daniweb.com/web-development/php/threads/412468/how-to-send-mail-to-email-address-on-mysql-database. i posted on https://gist.github.com/amkaos/5608094 but i can post code …

Member Avatar for amkaos
0
387
Member Avatar for jonow

Hi, i have a form that when filled out sends and email. I want to be able to validate it, so check that all the fields are filled using PHP. I have found this website: [URL="http://www.phpjabbers.com/phpexample.php?eid=27"]http://www.phpjabbers.com/phpexample.php?eid=27[/URL] that i used to validate it but i am not sure how to combine …

Member Avatar for Squidge
0
997
Member Avatar for adeeb.keyaam

**Here is my code below:** <?php if(isset($_POST['create'])) { // db connection $dbHost = "localhost"; $dbUser = "root"; $dbPass = ""; $dbName = "emanage"; $conn = mysql_connect($dbHost, $dbUser, $dbPass); if(!$conn){ die(mysql_error()); } mysql_select_db($dbName, $conn) or die(mysql_error()); // prevent mysql injection foreach ($_POST as $key => $value) { $_POST[$key] = mysql_real_escape_string(strip_tags($value)); } …

Member Avatar for Webville312
0
250
Member Avatar for Maideen

hi I have created the php report using below code. It works fine. But My problem is to group the data example # Date Code Name Rate Qty Amount# 15.01.2011 0001 Milk 4.01 50 200.50 15.01.2011 0125 Choklet 30.00 10 300.00 15.01.2011 0241 Drink 12.50 12 150.00 16.01.2011 5461 Meat …

Member Avatar for Maideen
0
2K
Member Avatar for coolrosy

hai friends.. i want to know whether any mobile apps developed by PHP..plz reply...most of the companies choosing java for they mobile apps..it is possible means just tell the tools required for that

Member Avatar for annaharris
0
95
Member Avatar for mohammed.ismail

How to run the interactive PHP shell from the command line interface?

Member Avatar for annaharris
0
100
Member Avatar for PF2G

Hello, I did this search engine just for one table: <?php $button = $_GET ['submit']; $search = $_GET ['search']; if(strlen($search)<=1) echo "Search term too short"; else{ echo "You searched for <b>$search</b> <hr size='1'></br>"; mysql_connect("localhost","root",""); mysql_select_db("rmworshipers"); $search_exploded = explode (" ", $search); $x=1; foreach($search_exploded as $search_each) { $x++; } $constructs ="SELECT …

Member Avatar for diafol
0
143
Member Avatar for sambulo.senda

` $options[] = array( 'title' => __('Donate to the theme developers', 'default'), 'desc' => __('Note :Donate to the Developers of this theme, Donate any amount to keep the themes free ' , 'default'), 'id' => '', 'std' => '', 'type' => 'sep' ); How do I add a link to …

Member Avatar for diafol
0
221
Member Avatar for Ridji

Hi guys, I'm new here. I have a problem with connecting to my sql database. Everytime when I want to log in, I get this : Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\novi\funkcije.php on line 9 Warning: mysql_query() expects parameter 2 to be resource, boolean …

Member Avatar for Webville312
0
126
Member Avatar for NardCake

Hello! Currently I am working on a PHP project on my own that is slowly growing, before I really get it out there I want to begin working on some documentation. It's just that I'm unsure on how documentation is usually created, best practices on writing it, and how it …

Member Avatar for diafol
0
237
Member Avatar for dourvas

hallo there, Its a very complicate problem and i wiil try to be as brief as i can. I hope you ll be able to understand my description. i ve coded a script that works perfect in my localhost. When i uploaded the files to a server some things just …

Member Avatar for diafol
0
171
Member Avatar for probytes

It is not easy to make the choice of a PHP framework. A lot goes into choosing the proper PHP framework especially if you want to use it on a long term basis. A wrong choice of PHP framework may lead to certain disadvantages, like, increased development time, the need …

Member Avatar for LastMitch
-1
309
Member Avatar for Nero Basanta

I am working on an Assignment Problem, a part of Operation Research but the problem am facing is how to assign the task to the agents and then the anomaly where the algorithm has to repeat it self when it is not able to perform the assignment.

Member Avatar for diafol
0
68
Member Avatar for McLaren

Hello, We are sending email using these settings: $config['smtp_host'] = 'ssl://smtp.gmail.com'; $config['smtp_port'] = 465; $config['protocol'] = 'smtp'; $config['mailtype'] = 'html'; $config['smtp_user'] = 'email@gmail.com'; $config['smtp_pass'] = 'password'; $config['smtp_timeout'] = 40; Thats ok it works. For few days. Later it stops sending. THen we go to gmail acount in web interface to …

Member Avatar for McLaren
0
644
Member Avatar for bharanidharanit

Hi, I am using this SP, am getting both the result when using mysql workbench. CREATE PROCEDURE SP(IN _start INT,IN _end INT,INOUT _count INT) BEGIN SET _count = (SELECT COUNT(*) FROM tbl); SET @qry = CONCAT('select * from tbl limit ', _start, ',', _end); PREPARE stmt FROM @qry; EXECUTE stmt; …

Member Avatar for LastMitch
0
190

The End.