39,320 Topics

Member Avatar for
Member Avatar for ZenMartian

Ok PHP folks... Here's what's up... There's a site called [url]www.easykiss123.com[/url] (someone within this forum mentioned it to me...thank you!)...well, they feature this web-2-sms php code. The code was free as a download, so eventually I tinkered with it and got it to work so that a visitor can input …

Member Avatar for petr.pavel
0
127
Member Avatar for nishanthaMe

Hi guys I just trying to do some string matching and I want to use boyer-moor algorithm. What I am doing is, read a file from fopen() and searching counting the word "table" in the file.Can any one let me know a palce where a php implementation of boyer-moor algorithm …

Member Avatar for petr.pavel
0
84
Member Avatar for coffeepot!

Hi all, Can anyone shed any light on this really simple problem please? I need to read a list of files in a directory on a server. I am using PHP to do something like this... [code="PHP"] $counter=0; if ($handle = opendir($dir)) { while (false !== ($file = readdir($handle))) { …

Member Avatar for petr.pavel
0
112
Member Avatar for BenR41

This must be one of the most annoying errors to get when working with php. This error occurs when PHP can't find the specified file in the include statement. This often occurs when a developer has built an application on their machine and uploaded the application to a shared hosting …

Member Avatar for petr.pavel
0
79
Member Avatar for Inny

What on earth is wrong with it? <? Header("content-type: application/x-javascript"); $chatnames = file('http://client11.addonchat.com/scwho.pl?id=292747&plain=1'); $indx = count($chatnames); $indxcom = $indx - 1; if ($indx == 0){ echo "document.write(\"No one is in the chat room at the moment"\)"; } else{ echo "document.write(\"<b>Members Chatting:</b>"\)"; for($i = 0; $i < $indx; $i++) { $name …

Member Avatar for Inny
0
131
Member Avatar for Designer_101

hi Im sure this is an easy problem to resolve. Basicly for my log-in script, im retreiving the results from a database, storing them in variables but i would like the redirection to be in flash (better looking). Is there a way for me to load two variables called $username …

Member Avatar for desicoder
0
76
Member Avatar for 2bu

Does anyone here have programming experience with PHP and ColdFusion? I am looking for a comparison from someone who develops in both. Thanks

0
74
Member Avatar for kevin wood

i am working on a file upload system and i need the user to be able to upload images onto the server with the page reloading. the page reloading causes all the other information to be lost and the user having a lot of unwanted windows open. what is the …

Member Avatar for kevin wood
0
63
Member Avatar for vijukumar

consider i have two forms: 1: this form will display(listing) all the names from the database table and beside to each name displayed i have view button 2: this will show the details of only selected names from the 1st page. tables will contain name_Id, name, age, address. give me …

Member Avatar for vijukumar
0
71
Member Avatar for satimis

Hi folks, If I found an interesting news site but can't find *.rss.php how can I create it? e.g. [url]http://www.ft.com/world/us[/url] How to search the news sites with *rss.php file available? TIA B.R. satimis

Member Avatar for petr.pavel
0
174
Member Avatar for stalk

Iam problem with this : Supplied argument is not a valid MySQL result resource in c:\apache\htdocs\cd_shop\funkcie_s_databazou.php on line 1039 this is code: function zrataj_cenu($kosik) //funkcia pocitajuca vyslednu sumu vsetkych poloziek v nakupnom kosiku { $cena = 0.0; if(is_array($kosik)) { $conn = db_connect(); foreach($kosik as $EAN_kod => $qty) { // $query …

Member Avatar for stalk
0
82
Member Avatar for mexaros

I am updating a site for a company. The site was at one time working, and has since been pulled offline. All the php, js and .sql files were sent to me and I should have just been able from the beginning to load and run the site. unfortunately this …

Member Avatar for JeniF
0
147
Member Avatar for forzadraco

Anyone want to help me to show how make a search with multiple words and condition like or and not.. google search.. Thanks for read my thread.. Ardy Satria H >email address snipped<

Member Avatar for JeniF
0
124
Member Avatar for drorb

I need help with parsing XML. I put an XML doc into a hidden input for an HTML FORM... -------------- <html> <head> <title>TEST TEST</title> </head> <body> <form method=POST action="http://nflnfl.com/mash.php"> <input type=SUBMIT> <input type=hidden name=xdoc value='<?xml version="1.0" encoding="UTF-8" ?> <!--OPN 2001 Proof Of Concept--> <ScannerData> <Device>0000000000002561</Device> <UploadDate>3/6/2008 3:49:09 PM</UploadDate> <BarCode> <Symbol>8</Symbol> …

Member Avatar for drorb
0
120
Member Avatar for mexaros

Hey I am working on an offline site. However for some reason i recently started getting pop ups when i attemtp to load my site. My site is not online, and I dont have any built in pop up, they are from other companies and websites. What is the cause …

Member Avatar for petr.pavel
0
109
Member Avatar for lydia21

hi i have attached a mail_attachment file which contains the mail function in my code i have used the below code [ICODE] <? include 'mail_attachment.php'; $sent = mail_attachment($from, $to, $subject1, $body1, $attachment);?> [/ICODE] when i tried printing the variable ..........all the values are getting printed but the mail function is …

Member Avatar for petr.pavel
0
202
Member Avatar for SiPexTBC

I have a php script that is interacting with the database. It gets an array of the Characters that the user's account has. I get their account number using [CODE] $GetAccNum = "SELECT acct FROM accounts WHERE login = '$user'"; $AccNumResult = mysql_query($GetAccNum); while ($AccNumRow = mysql_fetch_array($AccNumResult, MYSQL_NUM)) { $AccNum …

Member Avatar for jino
0
78
Member Avatar for toadzky

I feel a little like an idiot for asking this but.... I have Apache 2.2 installed on my computer just to test my pages and scripts for my web engineering class. Whatever version of PHP that came with it is what I have installed. I can't even get a basic …

Member Avatar for toadzky
0
100
Member Avatar for bigvic718

I am these 2 errors come up in my database and I cant figure out the problem with my code....can someone help please? here is the code. [code="PHP"] <body> <?php include("../misc.inc"); mysql_connect($host,$user,$pass); mysql_select_db($database); if($HTTP_GET_VARS['id']) { $query = "SELECT * FROM guestlist WHERE eventID = '".$HTTP_GET_VARS['id']."'"; $result = mysql_query($query); $nrows = …

Member Avatar for bigvic718
0
110
Member Avatar for mywebworld

Pls, I need a php script that will creat complete loging page on my web page and if password is forgotten it will retrieve and send it to the user by mail. e.g loging User Name:........ Password:.......... if you forget your password Enetr email Address........

Member Avatar for Designer_101
0
94
Member Avatar for Dilnesaw

I want to enable visitors to send the url of the page they visitied to their freinds by filling out forms. I want the e-mail to contain the url address they visited as well. I tried to use two php scripts that are freely available on the web. The two …

Member Avatar for Dilnesaw
0
161
Member Avatar for stalk

Is it possible to make this operation? $musica = vyber_detaily_cd($EAN_kod); $ciste = vyber_detaily_media($EAN_kod); $cd=$musica.$ciste; How I join this variable? $ musica and $ ciste to one variable: $cd ? function vyber_detaily_cd and vyber_detaily_media($EAN_kod) select details of product which is in database and I need display this detail in shop basket …

Member Avatar for petr.pavel
0
73
Member Avatar for stalk

Hello, I have problem with this:\ $conn = db_connect(); $query = "select * from albumy, ciste_media where EAN_kod='$EAN_kod'"; Is this syntax good, when I used two tables? Because when I used one table its go correctly and when I used two tables, its doing problems

Member Avatar for stalk
0
95
Member Avatar for luvphp

i have a text area where user can enter some notes ,i save that in database by taking text as data type ,and while retrieving it through Ajax its not retrieving as each new line in text area is entered as a special character ,please help me anyone to get …

Member Avatar for mostafadotnet
0
68
Member Avatar for stalk

hello, I have a problem : What is it? Warning: Unable to jump to row 0 on MySQL result index 2 in c:\apache\htdocs\cd_shop\funkcie_s_databazou.php on line 899

Member Avatar for stalk
0
133
Member Avatar for andrewcross

Hi, this is driving me crazy so hope you can help. It seems quite simple. Basically I have a simple site consisting of an index.php page that loads in the other pages using php switch case. This all works great. The trouble I'm having is cleaning the url with mod_rewrite …

Member Avatar for andrewcross
0
130
Member Avatar for aravindkishore

Hi every one, Why I am getting wrong time when I am using date('H:i:s').I am working on localhost. Please help how to get correct time. Thanks and Regards, Aravind Kishore.P

Member Avatar for aravindkishore
0
82
Member Avatar for kings

[CODE]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- function view(ss) { if(ss.options[ss.selectedIndex].value!="none") { window.location="http://jesus.freehyperspace2.com/desc.php"; } } --> </script> </head> <body> <form method="get" target="frameright" action="http://jesus.freehyperspace2.com/desc.php"> <?php $hostname="localhost"; $username="jesus_jesus"; $password="jesus"; $dbid="jesus_jesus"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("unable to connect"); $result=mysql_query("select * from career"); if($result) { print "<select name='IndustryType' language='javascript' onChange='view(this);' size='15' tyle='width:250px'>"; print "<option value='none' selected>Choose Industry …

Member Avatar for silviuks
0
73
Member Avatar for vijukumar

how to show error message whenever the person enters wrong or empty text fields in th login form itself rather than linking to other error page? error message should be displayed just above the login text fields... please pass me the codes so that i can understand. thank you

Member Avatar for vijukumar
0
114
Member Avatar for naju

the user posts from time input box.. now i need to check is that in time format or not ... how??? if he doesnot input time ... then i have to inset null time in db with time datatype .. how??? pliz help .. thanks in advance

Member Avatar for naju
0
73

The End.