39,402 Topics

Member Avatar for
Member Avatar for Sarao

Hello, I am having a company here with foreign retailing. I have to ship packages abroad. Due to workload I cannot remember what parcels I have sent. I had a script which I used to print Labels to print. But now, what I want is, while the script prints a …

Member Avatar for kardklub
0
87
Member Avatar for Imratzio

I have already completed a form registry and works!!. Well nearly I have an error which displays this [CODE]Warning: extract() expects parameter 1 to be array, null given [/CODE] Heres the code [CODE]<?php /* Program: Login.php * Desc: Login program for the Members Only section of * the pet store. …

Member Avatar for Imratzio
0
133
Member Avatar for phplover

Hi, I have the code below for a login script. I not finished it yet and i moved from Dreamweaver to Netbeans a while ago and all my code has lost it's indentation and formatting. I am missing some curly bracelets i am sure of it but cannot find where …

Member Avatar for phplover
0
198
Member Avatar for tcollins412

i am trying to register 2 sessions. one is supposed to get the id of the user logging in, the other is supposed to get the persons username. here is the login page: [CODE]<?php session_start(); include "dbconnect.php"; $myusername=$_POST['user']; $mypassword=$_POST['pass']; $myusername = stripslashes($myusername); $mypassword = stripslashes($mypassword); $myusername = mysql_real_escape_string($myusername); $mypassword = …

Member Avatar for kohyar bolvary
0
145
Member Avatar for ApocDen

This is a very simple bbcode example to use on a forum or your pages. Add this to a function page and make sure the function is required on the page you want to on. ENJOY!! :D

Member Avatar for phplover
0
391
Member Avatar for LiQuid.Ace

Here is the query: [code]mysql_query("UPDATE il_pageparameters SET totalvisitor_to_refer=$totalvisitor_to_refer, referer_page_url='$referer_page_url', message='$message', rewardmessage='$rewardmessage', background_image='$bg', poweredby='$rg', istoshowrm=$istoshowrm, msg1='$msg1' WHERE id=$configid;");[/code] I have tried echo'ing the output: [code] echo "UPDATE il_pageparameters SET totalvisitor_to_refer=$totalvisitor_to_refer, referer_page_url='$referer_page_url', message='$message', rewardmessage='$rewardmessage', background_image='$bg', poweredby='$rg', istoshowrm=$istoshowrm, msg1='$msg1' WHERE id=$configid;"; [/code] Run the echo'd output manually in phpmyadmin and it works fine. …

Member Avatar for phplover
0
145
Member Avatar for ana10192000

Hi, I currently created a video uploader, but when the video is too big in size, the page seems to be not doing any until the video is completely uploaded. I want to put somewhat like "loading.. please wait" script until the video is not completely uploaded. Thanks. //Ana

Member Avatar for ana10192000
0
108
Member Avatar for soomro_moon

hi can u plz tell me that how to Enable and disable of text box through a button in php???? plzzzzzz give me any little example or syntax!!!!!!!!!!!!!

Member Avatar for vinayakgarg
0
96
Member Avatar for aitha
Member Avatar for codewall
0
46
Member Avatar for phplover

Hi, I have a sign up form that generates a activation key and emails it to user and they cannot login until account has been activated etc. I know how to do the MySQL query to check if activation key already exists and have a function that generates a random …

Member Avatar for phplover
0
157
Member Avatar for hkdeven

Hi Everyone, I'm trying to create a comment field on my site also. I know very very little about coding and IT so I am completely lost. Could someone provide me with a script I can simply copy and paste into my current page? Here is the site I am …

Member Avatar for Shanti C
0
24
Member Avatar for spacific

Why do I get the extra "3" in this replacement? $s='This is 3a and 3b'; $pattern='/3([a-z])/'; $replace='[$0]'; preg_replace($pattern, $replace, $s) gives 'This is [3a] and [3b]' I thought $0 refers only to the match in the parenthesis. Same with $replace='[\0]'; I want: 'This is [a] and [b]' Thanks for any …

Member Avatar for spacific
0
89
Member Avatar for BaSk

We have a client that came to us, and his admin panel is using a iframe system, [CODE]<html> <head> <title>Administration Area</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <frameset cols="180,*" frameborder="NO" border="0" framespacing="0"> <frame src="menu.php?id_mnu=prd" name="leftFrame" frameborder="yes" scrolling="YES" noresize> <frame src="landing.php" name="mainFrame" frameborder="yes" bordercolor="#000000"> </frameset> <noframes><body> </body></noframes> </html>[/CODE] Now I'm loading landing.php …

Member Avatar for spacific
0
127
Member Avatar for weekendrockstar

Hello! I've created a script that allows you to create a 'page' by saving the relevant information to a MySQL database. One script will generate all of the pages that are created by the id # that is passed to said script. Of course. When saving the page's information MySQL …

Member Avatar for weekendrockstar
0
190
Member Avatar for rumahsolusi

hi, i am newbie. i have question how make search engine will crawl/spider [url]www.host.com/file.php[/url] for [url]www.host.com[/url] Thank You

Member Avatar for vikrantholidays
0
340
Member Avatar for nyler01

please help me for this web masters out there my problem is: i have a that pulls out information from the database $query=mysql_query("select * from requirements) $rnum=0; echo "<form name='requirements' action='checkrequirements.php' method='post'>"; while ($requirements=mysql_fetch_array($query)){ $result=$requirements['requirementname']; echo "<input type='checkbox' name='$result[$rnum]'>" . $result . ""; $rnum++; } echo "<input type='submit' value='Enroll'>"; echo …

Member Avatar for Shanti C
0
101
Member Avatar for Ribamar23

Hi folks I'm trying a auction script that can be accessed in this link: [url]http://www.argoestores.com/V607/index.php[/url] it works well on this hosting plan when i try to use the same script in windows 7 using wamp the page renders like this: [URL=http://img232.imageshack.us/i/imgah.png/][IMG]http://img232.imageshack.us/img232/8066/imgah.png[/IMG][/URL] the script needs a folder to be chmoded to …

Member Avatar for Ribamar23
0
153
Member Avatar for ben.marks

Hi there, I am looking for some help on PHP/MySQL please :) I have a site where you add an item via a form which is then put into a mysql data base. I was wondering if there was anyway so that on this inital form there could be a …

Member Avatar for ben.marks
0
97
Member Avatar for Marty1963

I have another modification to make to my Random Image Script and I'm hoping someone can help me with the punctuation. I need to add an [usemap="#Map"] to the code on line #7 below: [CODE]<?php //This will get an array of all the gif, jpg and png images in a …

Member Avatar for Marty1963
0
124
Member Avatar for newbie14

Dear All, Attached is one sample image. I would like to make it dynamic with different tyre configuration. The next thing I want is the ability to drag (each of the different tyres) to say few different functionalities which will be represented as icons. Thank you. Any idea.

Member Avatar for diafol
0
88
Member Avatar for speer25

Working on this off and on for two weeks! Probably super simple with someone with more experience. I simple have a food search engine. You enter in lets say "blue cheese" it pulls all things with blue cheese from my DB. I click on one of the blue cheese links …

Member Avatar for speer25
0
108
Member Avatar for cristi08

Hellow everybodi... I succed to finish my first web site on local machine and i bought a host services and a domain name. After uploading files and mysql database I have only a huge blank page on index ....something it not wright.... Please help ....

Member Avatar for cristi08
0
246
Member Avatar for Siege

Hi, I want to make a page that has a code that can make my image change into another image. Lets say I arrive at work one morning. I go to my "website" click on a red image, and in turns green. Now I want it to stay green all …

Member Avatar for dietdew12z
0
199
Member Avatar for zylog

I was wondering why this line is being used in all the page of the html , PHP or even pages which was created by any language . <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> is this mandatory or any specific purpose

Member Avatar for mschroeder
0
53
Member Avatar for charlie123

ok guys , because I’m really confused -- which is better in order to have a good website I need it secured , nut I want it fast also with a very good looking actually could u help me with which one to choose plz ? Thanks [URL="http://www.infysolutions.com"]http://www.infysolutions.com[/URL] [URL="http://www.infysolutions.com"] Outsourcing …

Member Avatar for kwesiaryee
0
248
Member Avatar for network18

Hi to all experts in the forum. I know scripts can be executed through the command prompt,but what are other ways to execute it, if the file is on remote server. Please specify if any clarification is needed.

Member Avatar for jan.cajthaml
0
3K
Member Avatar for captain.don

I have an html form which has 2 fields realuser and useremail it then submits on the php page .i have a database table named auth .my database has 3 fields i.e realuser,useremail and details ,in which i have filled "details" field already and rest 2 fields are blank.i have …

Member Avatar for lyrico
0
110
Member Avatar for Ash2Dust

HI All, I have a small question regarding forms in php, and adding them to an array. [code] <table><tr> <td style="width:130px;" valign="middle" align="left" class="profile_link"> <input type="checkbox" name="suitwearing[]" value="HR Director" />&nbsp;HR Director </td> </tr> <tr> <td style="width:130px;" valign="middle" align="left" class="profile_link">Other <input type="text" name="????" value="????" style="border:1px #E3A538 solid; width:100px; height:20px" /> </td> …

Member Avatar for blocblue
0
136
Member Avatar for ditty

Hi I want to get news feeds from 'http://www.claimscouncil.org/news' this url. May I generate rss feed from this url?

Member Avatar for pritaeas
0
56
Member Avatar for whiteyoh

Hi All, Im running a script that goes 3 deep on parentheses, and then needs to change database at the deepest level. Im having trouble switching to that database in an if else query. any help would be appreciated [code] function getElement1(){ $con = mysql_connect('localhost','uname','pword') or die (mysql_error()); $authenticate = …

Member Avatar for whiteyoh
0
108
Member Avatar for tcollins412

How would i upload image files to a database and then display them using [CODE] <?php $query = "SELECT * FROM members WHERE email='$username' AND id='$id'"; $result = mysql_query($query); $row = mysql_fetch_array($result); ?> <img src='<?php echo $row['pic']; ?>'> [/CODE] and also, what kind of field should i use in the …

Member Avatar for Shanti C
0
95
Member Avatar for saadi06

hi, i am having problem in making thumbnail of video. it is not working properly here is my code plz help [CODE]$ffmpeg=$_SERVER['DOCUMENT_ROOT'].'/admin/ffmpeg'; $image=$_SERVER['DOCUMENT_ROOT'].'/admin/video/thumbs/'."$id.jpg"; $video =$_SERVER['DOCUMENT_ROOT'].'/admin/video/'."$uname"; $cmds = "$ffmpeg -i $video -deinterlace -an -ss 1 -t 00:00:01 -r 1 -y -s 100x90 -vcodec mjpeg -f mjpeg $image 2>&1"; exec($cmds);[/CODE] thanx in …

Member Avatar for saadi06
0
89
Member Avatar for Elihu5991

My friends and I are building a site and are going to use Joomla. But before I delve into Joomla, I was wondering there are better alternatives. I would like Free and Commercial versions with comparisons and pricing (if it costs). The sort of site we're going to make are …

Member Avatar for ecmcircle
0
333
Member Avatar for greyhat1123

Good evening: I need assistance getting data formatted properly when it is pulled from my database. The database pulls everything correctly, so let's assume the following table: $results = $db->query($sql); [code] +----+--------------+--------------+-----------+ | id | name_of_item | cost_of_item | item_type | +----+--------------+--------------+-----------+ | 1 | product01 | 20 | 1 …

0
46
Member Avatar for skald89

What stuff on a website can't be tested locally? If everything can what do I need to be able to test it?

Member Avatar for mschroeder
0
124
Member Avatar for arctushar

Hello I m having great problem with indic(indian language) convert. for example Say I wrote something by google indic for bengali Now I copy this text and paste into textbox of my web form the after submitting it not showing desire result. my code is [CODE]$tvalue=$_POST['textfield']; echo ord($tvalue).' = '; …

Member Avatar for mschroeder
0
83
Member Avatar for Huiliam

Hi everyone! My boss is using a Java program called Animal Shelter Manager, which stores all images as BLOBs (Binary Large OBjects) in the database. She needs me to put all of those pictures she has stored on the shelter's website. I look at them in the database, and they …

Member Avatar for Huiliam
0
173
Member Avatar for Marty1963

I'm very new with this. I need to make all of the random images below link to the same page. In other words I need to add a 'hotspot' to this script. The code below is how far I've got: [CODE]<?php $img_array = glob("images/Coupons/*.{jpg}",GLOB_BRACE); //Pick a random image from the …

Member Avatar for Marty1963
0
602
Member Avatar for ellenski

hi, the layout of my site is. there are five files (4 are inside the includes folder): index.php , header.php , pageniavigation.php , thumbnail.php , footer.php the header file is where you select the number of images you want to be displayed per page. the pagenavigation file contains the page …

Member Avatar for madCoder
0
202
Member Avatar for puvi

Hi ppl, I copied the code of a small php web application from a remote machine(where it was running fine) to my local machine. Symfony framework is used to generate the frontend of this application. I want to add some features and enhancements to this application, so I installed sf_sandbox …

0
60
Member Avatar for AdriftUniform

Hi, I have created a system where users can follow another user, I am currently querying the table to display who is following who. I have two queries as shown below: [code=php] // followers query $query = "SELECT * FROM friends WHERE friFriend='$view'"; $result = queryMysql($query); $num = mysql_num_rows($result); // …

0
114
Member Avatar for miketurpin

Hi, I'd need a function where an optional argument takes on the value of another argument when it's not specified. I'd like to be able to write: function some_fun ($a, $b, $c, $d=$b) { ... However, this is not correct PHP syntax. I'd really like it to be, and may …

Member Avatar for miketurpin
0
252
Member Avatar for Blazar

How would one go about having a unique forum made when user does a certain thing on a web site? On this web site I am making there are user groups and every time a group is made by a user, I want a unique forum made just for that …

Member Avatar for Blazar
0
97
Member Avatar for bwallace

I'm working on a script for a custom inbox to read e-mails. (We have several inboxes available to us on our hosting account but we need a custom one for a few reasons.) Today, e-mails have begun vanishing from the account -- they're not just gone from this custom inbox …

Member Avatar for chrishea
0
150
Member Avatar for BlueCharge

Hi Everyone, I have made my own forums/site which is working out quite well. The only problem I'm having is when people edit there topic or if I edit the news. The current topic or news is loaded into a textarea including all the line breaks which were instered via …

Member Avatar for Borzoi
0
108
Member Avatar for Skrljutak

Hi people. I'd like to allow HTML code in my forum but I don't know how :) Would any of you explain to me how I could do it? Regards

Member Avatar for diafol
0
377
Member Avatar for VikkiC

Hello I’m trying to create a simple facility booking system using PHP/MYSQL for a leisure centre as part of my final year project. I’ve been looking online for the best way to do this and I can’t find anything of use. Does anyone have any idea what would be the …

Member Avatar for VikkiC
0
745
Member Avatar for shuipint

I create a form which use the check box to get the info from user, but don't know how to write it in php for send to my mail, did any one can help me? my html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" …

Member Avatar for shuipint
0
173
Member Avatar for grandfso

Hi, I am a beginner, and would like to do something like: I have a mysql table with date column. I would like to select all the rows from table, and print them out in tables. One table per month. E.g. January: ... ... ... February: ... ... ... etc. …

Member Avatar for pritaeas
0
117
Member Avatar for kunalch
Member Avatar for Gants
0
101

The End.