Quantcast
Channel: PHP Freaks: PHP Help
Browsing all 13200 articles
Browse latest View live

RSS feed get full content/ image

Hi,   I am building an RSS Aggregator plugin for my Wordpress Installation.   One of the feeds I am using is:...

View Article


list results with links..

hey guys i have this ajax autos suggest  form and it works but all the suggestions have the same link..       // Query $q = @$_GET['q']; $ql = strlen($q);   // Target mode $target = @$_GET['target'];...

View Article


Image may be NSFW.
Clik here to view.

thumbnails

Hello there freaks,   I remember a while ago I was making a function that creates a thumbnail from a large image and just about when I was finished I found out that php had a built in function that...

View Article

Viewing selection of PDF

Hi there,   I want to view a selection of a PDF-file to my visitors. The PDF should be in some sort of an iframe, where people can scroll through the entire PDF, but by default there is a certain...

View Article

Image may be NSFW.
Clik here to view.

search multiple fields using multiple form elements

hi, for my school intranet im trying to create a page that will search and list the activities. i am trying to create a search page with the multiple form elements that will filter and list the records...

View Article


Image may be NSFW.
Clik here to view.

Need to insert a cc in my PHP form to email script

Hello, I have a script (which I found online) that is being used successfully to email results from a website form to an email address. I need it to cc me but I don't know how to add it - help!...

View Article

Help with login script code

Hello i was watching this video on how to create a login script in php and i thought to use it.   So here is the code :   <?php include("config.php"); class login { private $_id; private $_username;...

View Article

Duplicate entry '0' for key 'PRIMARY'

This is my error in my Vote script: Duplicate entry '0' for key 'PRIMARY'. I did changned in phpmyadmin but he automaticly go's to 0 and everytime I wanna vote I get this error.   Here's my website...

View Article


PHP Passing through functions

Hello, I'm working on a PHP script that allows access through the database. I've added 2 public functions so it'd be easier to access from other pages. My code is:  <?php // imports all the...

View Article


PHP email question

Hi, I got an email contact form page on my website, with the following php code:   <?php $name = $_POST['name']; $email = $_POST['email']; $message = $_POST['message']; $formcontent=" From: $name \n...

View Article

Quickly count subcategories to speed up site loading time

I'm working on a site with a large category database > 3000 categories. I have successfully loaded my category list into phpmyadmin (tables in Myisam). However when attempting to load the site...

View Article

Dealing with non-required fields

Hi there,   I have a form with around 100 variables. Some variables are required to be filled in order for the form to be process, while some are not. At the moment if a non-required field isn't filled...

View Article

header: location

Hello, For a school project we have made a very simple Jquery mobile website. In this website you can create "Quick Links" that will put them in a list for you. The website is running and is doing...

View Article


Do i need to save a file after imagefilter()?

I want to display an image after using imagefilter() to add color to it. But, do I need to save the file or can I display it directly on the webpage without saving it?   Thanks for your time,   Brett...

View Article

codeIgniter model... can't var_dump($this).

Hello, i'm trying to see what properties and methods $this references when used in a codeIgniter model, but i can't print it out or var_dump it.   Any suggestions? thanks

View Article


echo prices

hi im doin some custom coding and i need use ROUND with ALWAYS 2 decimals so if i enter 2 i need get back 2,00 with , not .

View Article

Iterate once through array, starting part way through

Hi,   I am trying to develop a room allocation application, but am struggling a bit to get my head around the coding.  I am trying to break it down into small chunks and then maybe see if I can get...

View Article


Loop through days for following week

Hi,   I need help with looping through the dates of working days (Monday to Friday) for the following week.   I need to send an email once a week (probably on a Thursday or Friday) informing people of...

View Article

XML Parsing Error: junk after document element? Please help.

Hello,   I have a PHP file that will show some products from Mysql database. this works without any issue. But I need to create an XML file from this PHP file in order to be able to load it into flash....

View Article

LAN scan

hi, if anyone can help write the code which scan local network for active ip addresses in defined range. For example user enters start (10.10.10.1) and end ip address (10.10.10.20). If in this network...

View Article
Browsing all 13200 articles
Browse latest View live