39,402 Topics

Member Avatar for
Member Avatar for VIeditorlover

Hi, I am looking for a free tool which let me write pure html + user defined special tags, which would be transformed on demand into php file. For example I can define source like this: [code=php]<html><body> <config/> <mysql> <form name="frm" action="nextstep.php"> <select name="xxx"> <query sql="select value, name from table …

Member Avatar for Fest3er
0
121
Member Avatar for rajeesh_rsn

Hi I am working in a shopping database with php. For this I need to create a Id ( automatically) for each product when I add a new item in to the database and I am using php. I want to create that id automatically and without repetition. It can …

Member Avatar for rajeesh_rsn
0
101
Member Avatar for mirainc

Hey all.. Im in desperate need to solve my shopping cart problem. Im doing it for a school project. The situation is my products are listed in a table. Users will select which product they want by selecting the add to cart link. Once they select it, the product information …

Member Avatar for mirainc
0
448
Member Avatar for CasTex

I am getting error at the second line of the code, what is the problem :-/ [ICODE]$content = '<' . '?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?' . '>'; $content .= "<entry xmlns='http://purl.org/atom/ns#'>"; $content .= "<title mode='escaped' type='text/plain'>".$title."</title>"; $content .= "<issued>".$issued."</issued>" $content .= "<generator url='http://www.yoursitesurlhere.com'>client's name</generator>"; $content .= "<content type='application/xhtml+xml'>"; $content .= "<div …

Member Avatar for almostbob
0
2K
Member Avatar for rajeesh_rsn

Hi I am making a online shopping site. In that I want to add online payment option. Paypal will take 5-7 days to process .. I need help in this chapter.. Any one know the solution ?? I am from India and used php code for building the site .... …

Member Avatar for freshfitz
0
78
Member Avatar for sacarias40

i get this error:[quote]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index, user_id, username, message) VALUES(' ', '4', 'zack', 'jh')' at line 1[/quote] [code]<?php session_start(); $_SESSION['user_id'] = 4; $user_id = $_SESSION['user_id']; $_SESSION['username'] = …

Member Avatar for sacarias40
0
95
Member Avatar for snadboy6371

I have created sandbox account on google but not got merchant id and merchant key

0
51
Member Avatar for samarudge

Hi, Is there any way to retrieve the contents of a DIV from another website, E.G. there is a div on Youtube with the ID description, how would i get the contents of that DIV? Thanx Sam Rudge

Member Avatar for samarudge
0
297
Member Avatar for cakka
Member Avatar for pcmicro

Good evening to all of you! I was wondering if anyone would be willing to assist me in building an HTML feed back form powered by PHP. Quite frankly I don't care what its powered by as long as it work. Any suggestions??? Thanks for your support. C-

Member Avatar for almostbob
0
428
Member Avatar for queenc

hi i am trying to develop a site.i am using php and wml.this is my first program.can any one say why my below code is not woking [CODE] <?php header("Content-type: text/vnd.wap.wml"); echo " xml version=\"1.0\" "; echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"" . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; ?> <wml> <card> <? …

Member Avatar for digital-ether
0
331
Member Avatar for theimben

Hello, I need some help. Ive got this script which scrapes the [URL="http://www.imdb.com/chart/top"]IMDB top 250 movies[/URL] list. What Im trying to do is add a search link next to the year bit. Ive got it partially working with str_replace but it only adds the link to the first movie. [URL="http://www.theflickzone.com/misc.php?do=page&template=top250"]See …

Member Avatar for digital-ether
0
97
Member Avatar for alipourhadi

hi to all i wana get the Traffic left from rapidshare account i used this work but it doesnt work anyone cans help me? [CODE]ereg("<td>Traffic left:</td><td align=right><b><script>document\.write\(setzeTT\(\"\"\+Math\.ceil\((\d+)/1000\)\)\);</script> MB</b></td>", $pagedata, $traffic); [/CODE] html code of this part is : [CODE]<td>Traffic left:</td><td align=right><b><script>document.write(setzeTT(""+Math.ceil(-123313/1000)));</script> MB</b></td>[/CODE] i need this number : -123313 in html

Member Avatar for digital-ether
0
99
Member Avatar for sleign

I'm finding some information here and there about $PHP_SELF but never specific to the question I have. I'm not sure if I'm going about this right, but I'm using a form for user input, specifically a registration page - and I'd rather only have one page the user has to …

Member Avatar for digital-ether
0
193
Member Avatar for shaneog

I have been racking my brain and can't figure this out??? I'm trying to <b> or <highlight> characters/words in my string and for some reason the <b> tag is getting replaced when the $q includes the character "b". It also does the same for <span class=".... just reacts to different …

Member Avatar for digital-ether
0
2K
Member Avatar for Aamit

I am using this code to display calender This runs on IE but [COLOR="Red"]not on Firefox [/COLOR] [code] <table border="0" cellpadding="0" cellspacing="0" style="height: 150px; border-collapse: collapse" width="100%" class="searchBox"> <form action="index.php?view=search2" method="post" name="SearchForm" onSubmit="Javascript: return checkSearchForm();"> <tr> <td colspan="2" valign="top"> <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="normalHeading3"> <tr> <td valign="top" width="13"> …

Member Avatar for almostbob
0
174
Member Avatar for Cellu

Hi, This must be a rather dumb question, but I'll ask it anyway. Me and my friend are making a simple news script for our website, and thus we are not going to use mysql. The idea was to use mod_rewrite for SEO friendly URLs e.g /news/2008/12/25/this-is-the-subject/ (== news.php?y=2008&m=12&d=25&s=this-is-the-subject ) …

Member Avatar for almostbob
0
266
Member Avatar for enim213

hi All, I want to ask if is there any possibility to separate column data in different columns using php code.. really dont know if i have solution in php or here in mysql.. any idea would be really appreciate Thanx enim

Member Avatar for enim213
0
146
Member Avatar for guitarscn

I have a .php web page with these lines: [code]//gather all the comments $commentquery = mysql_query("SELECT * FROM comments WHERE tutorialid='$tutid' ORDER BY date DESC") or die(mysql_error()); //count all the comments for the total $commentNum = mysql_num_rows($commentquery);[/code] I want the value of $commentNum which is going to be a number, …

Member Avatar for diafol
0
169
Member Avatar for Harneet

[url]www.lbnutrition.com[/url] Nothing is showing up. I have revised the index.php code plenty of times. I need help of an expert. Much thanks! ------------------------------------------------------------------------------------ [code=php] <?php /* $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public …

Member Avatar for almostbob
0
106
Member Avatar for ajhais

Hi... I have the following code... [code=php] case 10: if($uid=$_GET['u'] && $pid=$_GET['p'] && $t=$_GET['ti'] && $type=$_GET['typ']) { print "$uid $pid $t $type "; } $query1="select * from album"; $result1=mysql_query($query1); if(mysql_num_rows($result1)>0) { $i=1; print "<table width='1000px' cellspacing='10px' cellpadding='10px' align='center'><tr><td colspan='4' class='h1'>Click on an image to delete it..</td></tr><tr>"; while($row1=mysql_fetch_array($result1)) { $query3="select * …

Member Avatar for hielo
0
103
Member Avatar for emclinux

Im in the market for a good php reference book. Does anyone have some suggestions on such a book so I waste my money on a book that is not going to help me. Im not really looking for a book to teach me how to code or anything just …

Member Avatar for pclfw
-1
135
Member Avatar for rajeesh_rsn

Hi I am new to php, I had a form in my page to upload image and some data. And that image filed is not mandatory. I had done that script well and working well. But the problem is it always need a image ( that is not mandatory in …

Member Avatar for wilch
0
225
Member Avatar for cali_dotcom

hi, i'm a newbie to php and i'm building a website right now. i giving the users the option to create and send news letters. i also want to give them the option of sending the newsletters at a later date i.e they can create the newsletters, choose a date …

Member Avatar for mschroeder
0
521
Member Avatar for guitarscn

I have forms already made that takes the user's name and input box for their comment, but I cannot figure out how to make it so that when the user clicks on Submit button, it will display on the same page in a certain style that I want (justified left …

Member Avatar for guitarscn
0
179
Member Avatar for marciano

Hello. I've tested sending emails to popular webmails like gmail and hotmail successfully. The problem is with yahoo. All mails are delivered to SPAM folder. These are some of my class.phpmailer vars where the mails are sent from [code=php]var $From = "admin@domain.com"; var $FromName = "ME"; var $Mailer = "sendmail"; …

Member Avatar for marciano
0
119
Member Avatar for Troy

[url="http://www.tgreer.com/class_http_php.html"][b][url="http://www.tgreer.com/class_http_php.html"]http://www.tgreer.com/class_http_php.html[/url][/b][/url] I've written what I think is a high-quality PHP class for screen-scraping external (or internal) web content. The class includes features to cache scraped content for any number of seconds. So for example, if you want to show stock market data on your site that you scrape from a …

Member Avatar for WebSnail
0
778
Member Avatar for kuldeep04

Hi All, I m working on one web site and i want to search image from given color code,and i put one color piker for that but i don't know how can i get the image from that color code. my site URL is : [url]http://www.alleystock.com/avd_search.php[/url] please help me for …

Member Avatar for mschroeder
0
125
Member Avatar for lisan28

Hello everyone! I was trying to follow along with this tutorial: [url]http://www.sitepoint.com/article/watermark-images-php/[/url] and everything worked fine until the end. Basically I'm trying to write a script that both resizes and watermarks images for a couple of websites I'm working on, so that I don't have to go through and do …

Member Avatar for lisan28
0
115
Member Avatar for theimben

Hello. Ive got this script which scrapes [URL="http://www.imdb.com"]IMDB[/URL] for their top 250 movies list but its not parsing and Im not sure why. Could you help me out please.... [code=php] <?php function get_inner_string($a,$b,$c) { $y = explode($b,$a); $x = explode($c,$y[1]); return $x[0]; } //Get Page $file = 'http://www.imdb.com/chart/top'; //Open Page …

0
58
Member Avatar for desiguru

For some reason when i was creating my database I messed up in inserting data into mysql and now all dates are in yyyy-mm-dd format so when the data are displayed it seems like (2007-06-26) How do i change that to (mm-dd-yyyy) in php for users to understand it better. …

Member Avatar for buddylee17
0
222
Member Avatar for mjta18

hi.. anyone knows a code for converting text files to .pdf, .jar, .ppt... is there a code for converting text file to these files... pls help.. thanks...

Member Avatar for almostbob
0
139
Member Avatar for shaneog

Hi there, I am trying to divide a single array into multiple arrays using a $variable. The $variable is the number of fields / columns in my db table. For example, if $variable = 3... Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] …

Member Avatar for shaneog
0
65
Member Avatar for wwwmadeasy

hi there i want help doing the following.. user come to the web site there will be a form for registration when he submit the information it will store in the database but only admin can verify his account ... can any one plz help me in that... thanks in …

Member Avatar for wwwmadeasy
0
166
Member Avatar for bhavik_thegame

Hello Guys, Is there a way or module I can integrate drupal along with jquery?

0
89
Member Avatar for bigbadbrad

I am developing an application for an inbound call center to enter orders. They need to be able to record each call automatically from within the web application. (I want this to be invisible to the user if possible). I want to launch sound recorder when a user clicks a …

Member Avatar for sanishan
0
186
Member Avatar for aodpreacher

Hi am a new programmer and i am a CS/Graphics major. i have already learned Python, xHTML/CSS and i am in the current stage of learning java( i don't think this top portion really mattered) my question is what should i learn next? PHP or Ruby on Rails? i am …

Member Avatar for aodpreacher
0
91
Member Avatar for digital-ether

I'm trying to create an Alpha Numeric List of links. Each alphabet links to a page that will display rows whose titles start with that alphabet or numeral. For each alphabet, I want to get the number of titles that start with that alphabet. This allows me to link only …

Member Avatar for digital-ether
0
293
Member Avatar for warren23

Hi everyone I am new to php or programming but am learning very quickly. only thing is i have been asked to build a site for a company that sells blinds, so the user needs to enter in measurements and i need to do a 9d array or 7 tables, …

Member Avatar for Will Gresham
0
70
Member Avatar for danielpataki

Hi everyone! I'm working on coding my own forum and I have no problem with this, I would like to ask those of you knowledgable about the inner workings of php and mysql about which method is faster. So far I have always been determining post counts, discussions started counts …

Member Avatar for danielpataki
0
136
Member Avatar for smartness

Hi, I'm maintaining a script, and want to add a CallBack home function, to know which domains are using the script! Can someone help me on this one! All i need is the script to show me the domain where the call is comming from! Thanks in Advance!

Member Avatar for mschroeder
0
345
Member Avatar for finance-blog

I have some code that is called from with other files, using readfile so there is no referer etc. To authenticate that the request is where it should be from, the php is passed a calling url as part of it parameters. The idea is that I can then check …

Member Avatar for digital-ether
0
118
Member Avatar for jrafique

Is there any difficulty in optimizing the php website? If it is then post here.

Member Avatar for canadafred
0
57
Member Avatar for bhavik_thegame

Hello guys. I am very much new to drupal. Its really fun working on it. Well, the problem I am facing is that How do I make menus in drupal. for e.g Categories are Car & in that I have the names of Cars. So "Car" is the parent menu. …

0
83
Member Avatar for dongodwins

am currnetly writing a scripts that can rorate banner ad.the scripts is working but still having problem its working perfectly,need something,Each advert change shall be logged in a file. Make a script that prints the log in a readable format when accessed through the web server.this is my codes can …

Member Avatar for dongodwins
0
94
Member Avatar for praveenvarghese

I am gonna create a site which rates the websites which are added to the list by completing a form. On typing the website name that website will be added to our ratings list. I am posting this thread to ask you guys whether my logic went right. It goes …

0
52
Member Avatar for smartness

Can someone help me creating a script that can check these things: if [B]latest.txt[/B] is chmoded 777 if [B]count.txt[/B] is chmoded 777 if [B]comments.txt[/B] is chmoded 777 Check if [B]cURL[/B] is enabled Check if [B]mod_rewrite[/B] is enabled

Member Avatar for smartness
0
173
Member Avatar for rajeesh_rsn

Hi , I want to show content of tables in a database in a PHP page. And I did it successfully. I had around 1500 rows in that table. Now the problem is the PHP page showing all the 1500 rows in a single page.. Please help me to limit …

Member Avatar for rajeesh_rsn
0
122
Member Avatar for nitu_thakkar
Member Avatar for Smurf_UK
0
234
Member Avatar for syazuchan

I want to build a simple search system. I have this one page call search.php which I had a multiple select box that i retrieve from the database.. some of the code are like this: [CODE]<form method="post" action="modulartabulated.php"> <table width="75%" border="0" align="center"> <tr> <td>Date:</td> <td><input type="text" name="date" /></td> </tr> <tr> …

Member Avatar for syazuchan
0
127

The End.