39,316 Topics

Member Avatar for
Member Avatar for thijscream

hey people, i have the following problem, i'm setting up a webshop with over 2k items and every 6months the prices are changing(wines) so i was wondering how to import an xml file into a mysql database without having to go in phpmyadmin. this because i don't want the people …

Member Avatar for jonnysmiths
0
650
Member Avatar for ivan3510

HI! I have a php page. There are music names (they are in array). I want to make a search script. This script must find what someone writes. But if user made mistake while writing, it must find similar music names. Is this possible, or I must use mysql?

Member Avatar for ivan3510
0
119
Member Avatar for cliffcc

When i do refresh in php, the data in iframe become blank. How i still get the search results in iframe after press "refresh" button? Thanks! In the iframe, it just like the search information php [CODE] <iframe width="650" height="400" frameborder="0" scrolling="yes" copyhistory="yes" name="Shopping" src="http://localhost/search.php" ></iframe> [/CODE]

Member Avatar for cliffcc
0
113
Member Avatar for samsons17

Hi all.. I am working on a website which require me to handle the image uploading and retrieval. This website is some kind like an image gallery. Straight to the point, i am having trouble in retrieving the last image to be displayed on my view.Clearly to be said, i …

Member Avatar for mr.allty
0
190
Member Avatar for designalex

Hi, I am new at php so please I beg of you to go easy on me., I have looked on the site and read many tutorials but I am trying to understand the following: When I call session_start() at the beginning of a page a file gets saved to …

Member Avatar for diafol
0
186
Member Avatar for haoth

Greetings ! I am trying to develop a website, much like hotornot.com, but a little simpler. The idea is: - The visitor comes to my site and selects a category, then he is presented with various images which he can rate. He can rate the images without leaving the same …

Member Avatar for diafol
0
161
Member Avatar for feoperro

Hi, I'm currently looking at password hashing and from what I've read so far, it seems pretty pointless. I read this [URL="http://phpsec.org/articles/2005/password-hashing.html"]article[/URL] which recommends using MD5 or SHA-1, however I Googled for decrypters and found them witin the first 3 results on Google. I don't quite understand the purpose of …

Member Avatar for feoperro
0
298
Member Avatar for roachae

I have a PHP script running in the background that's in the cron to perform specific tasks on a daily basis. When it's completed it's daily tasks, I want to be able to start a 2nd PHP script, but not exactly sure how to go about it. This 2nd script …

Member Avatar for roachae
0
79
Member Avatar for ckdoublenecks

I'm trying to read the [b]taxrate[/b] from the database table and use it with values from another table. the database and table are correct as is the field (taxrate) from the table, value is 0.06. Then I'm trying to multiply that value by the value of a field from another …

Member Avatar for ckdoublenecks
0
165
Member Avatar for rahul131090
Member Avatar for Sorcher

Hello! Quick question, i got a file uploader that can do huge files, so if i want someone to upload 1GB, what do i set the max_execution_time in php.ini to?

Member Avatar for diafol
0
75
Member Avatar for jimmyo88

Hello everyone. I am trying to write a quiz for a site. Questions are in multiple choice, true/false, fill in the blank etc. The example questions i have can be seen below. I'm trying to plan how am I going to code this. I was thinking of having a table …

Member Avatar for diafol
0
442
Member Avatar for Dragonbaki

Hi experts., I am back again... Now i am working in a Joomla project. Here i have a big trouble for sending mail. Once, i send a mail with entries in Contact module, it says "Could not instantiate mail function" with "Thank you for your mail". But i didn't receive …

Member Avatar for ko ko
0
68
Member Avatar for monta2020

guys i'm usiung mysql Server version 5.1.36 and i wanted to use this stuff ' , ),{ in my input , but its always coming out an SQL Error for me when i use String Type also still got the error , i used text Type got SQL errors, i …

Member Avatar for vibhaJ
0
97
Member Avatar for monta2020

hello guys , i have a table created in php and within this table there's a liked word that will lead to it's topic , and this topic would be stored in the database. then when it's clicked it will show a page and display what has being stored in …

Member Avatar for monta2020
0
126
Member Avatar for rpv_sen

Hi Friends I have pasted the code below which i was used in my project. But i am getting mysql_fetch_array() error. For your more information i have attached the screen shot of the error Pls give me solution [CODE]<?php // Inialize session session_start(); include("../config.php"); // Check, if username session is …

Member Avatar for rpv_sen
0
362
Member Avatar for BzzBee

I want to show some description of my blog post at home page and a read more link when user will click that link it will redirect to post detail page. I am using the_content('Read More...') function. Now how can i give character limit that how many character i want …

Member Avatar for workon
0
108
Member Avatar for geekme

Hello, I want to learn PHP as I'm interested in designing Wordpress blogs.But I do not know about PHP or CSS.Don't even know the IDEs one has to work on.How should I begin?Please help. Regards

Member Avatar for tomato.pgn
0
84
Member Avatar for Rishikeshan

Is there any way to list *.css from directories/subdirectories recursively? I want to make a css selector... The following script lists nonrecursively... But i need a recursive list... themeselect.php : [CODE] <?php if (ini_get('display_errors')) { ini_set('display_errors', 1); } date_default_timezone_set('UTC'); if ($_POST['currentcss']){ setcookie('currentcss', $_POST['currentcss']); } require_once('getcss.php'); function right($value, $count){ return substr($value, …

Member Avatar for mschroeder
0
90
Member Avatar for vijaysoft1

Hi frnds .... I am trying to create a contact form in PHP , MySql .... In my form i have two 3 input fields n a Submit Button ..... 1. Name 2. email 3. SecurityCode ( here user have to enter the captcha code ) I am collecting all …

Member Avatar for ivan3510
0
942
Member Avatar for pro_learner

In many job vacancies about software engineers,i have seen programming with PHP is a qualification.But as i know PHP is a server side scripting language.Therefore i want to know why they are looking about PHP as other programming languages like c,c++,java & etc.Please explain me......

Member Avatar for pro_learner
0
91
Member Avatar for Rahul Das

I am developing an application where I am uploading a file and then it is uploaded to a temporary folder and I see the preview of that image through an ajax call without refreshing the current page.Then after clicking "Save" it saves the file to original directory. The file I …

0
124
Member Avatar for youlichika

I want to do a picture search engine. I use `simple_html_dom` and `preg_match_all` to get all the image, then use `getimagesize` get all the image size. Here is one part of my code. [CODE]<?php header('Content-type:text/html; charset=utf-8'); require_once 'simple_html_dom.php'; $v = 'http://www.jqueryimage.com/'; $html = file_get_html($v); foreach($html->find('img') as $element) { if( preg_match('#^http:\/\/(.*)\.(jpg|gif|png)$#i',$element->src)){ …

Member Avatar for ivan3510
0
132
Member Avatar for azegurb

I am confused about &reference operator. here i dont understand the call_user_array_func() and referense operator why used here? but can you explain it on my code original source is [URL="http://net.tutsplus.com/tutorials/php/the-problem-with-phps-prepared-statements/"]http://net.tutsplus.com/tutorials/ph...ed-statements/[/URL] i tested it. i want to know what happens there i know this & reference operator but for what reason …

Member Avatar for twiss
0
112
Member Avatar for ivan3510

I need help! Here's script: [CODE] <?php date_default_timezone_set('Europe/Paris'); $time="1303889758"; echo $time."<br>"; $convert=date("G:i:s d. n. Y. ",$time); //convert $time to our date: output is 9:35:58 27. 4. 2011. echo $convert."<br>"; $con2=mktime($convert); //convert converted time to unix: doesn't work echo $con2; ?> [/CODE] I have two script. One script write the time …

Member Avatar for ivan3510
0
102
Member Avatar for sathyarajmca

hi all, I am new web developer. I don't know the difference between template and theme. explain about template and themes and difference.

Member Avatar for karthik_ppts
0
64
Member Avatar for rrlogu

Hi, I have the following code in test.php file <form name=f1 method=get action="test.php"> <textarea name="question"></textarea> <input type="submit" value="Submit"> </form> If I enter "sample text" its working fine with [url]http://www.example.com/test.php?question=sample+text[/url] But if I enter "Create a view that does not contain the" its throwing the following error message with [url]http://www.example.com/test.php?question=Create+a+view+that+does+not+contain+the[/url] [B]Internal …

Member Avatar for rrlogu
0
276
Member Avatar for phpuser

Hi all, Can anyone help me to solve my problem? I m doing one PHP project in which i maximum used Javascript and Ajax.Now client require that when he close browser session have to automatically cleared means when he open next time that browser he must have to login first. …

Member Avatar for Somnathpawar
0
5K
Member Avatar for dalip_007

hey guys, I have a site where users can upload photos, what i want is when they upload photos, then automatically, my site name should be labeled on image so that when some one download that image a watermark of "mysite.com" is printed on that image. any idea how to …

Member Avatar for dalip_007
0
74
Member Avatar for jimmyo88

Hello, I was wondering if anyone could help me. At the moment, I have some quizzes on a site which store the result in to a database. there are 6 quizzes in total and the the fields in the database are. Quizresult1, Quizresult2 Quizresult3 Quizresult4 Quizresult5 ,Quizresult6. What I would …

Member Avatar for jack4321
0
125

The End.