39,394 Topics

Member Avatar for
Member Avatar for jilly

I made a basic website for my sons' garage band, and they want on the front page to have a box that the four of them can update with the 'latest news' - so I want it to be something they's have to log in to use, or at least …

Member Avatar for justin1206
0
195
Member Avatar for ztwalsh

I looked through a few threads to find an answer to this question but was unsuccessful. I want to upload a file to my server and at the same time insert it's file name into my database. I've got the upload portion working just fine. Does anyone have a snippet …

Member Avatar for tanha
0
73
Member Avatar for antwan1986

Hi everyone and thanks for reading. I'm having problems validating the file size of my uploads. With my current script, If I upload anything that is over 2Mb, I keep getting the error about file types rather than the ones about the file size. Even if I dont submit anything, …

Member Avatar for tanha
0
312
Member Avatar for tanha

Hi. I am using WAMP with following tools: 1. PHP 5... 2. MySQL 5... 3. Apache 2... 1. I don't have REMOTE_USER variable in my php.ini file, How can I include it in my php.ini 2. How to change the variable REMOTE_USER in php.ini, through PHP script? Thanks

Member Avatar for tanha
0
161
Member Avatar for tanha

Hi. I am using WAMP package, which has the following tools: MySQL 5... PHP 5... Apache2... and I my own computer as client and server, and I like to test the [B]mail function[/B] of PHP. PROBLEM: Is it possible to use the mail function of PHP on my own computer? …

Member Avatar for tanha
0
114
Member Avatar for zina19666

hi guys i need your help i create a website with php and i need to display some marketing data the provider use MMTP protocole and the liberery created with c++ so how can i use this liberraies with php to display this messages thanks for help

0
55
Member Avatar for nizuya

I keep getting sent back and forth between the java and php forums so I'm not sure which language would be best for this anymore... Here's my original question: "I have a normal html document with an iframe pointed to a .php document (with links to other php documents). I …

0
67
Member Avatar for muthu raj

php mailing not working. any help me? i used the code to send mail is as follows: <?php $to = "someone@example.com"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "someonelse@example.com"; $headers = "From: $from"; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?> when i am executing …

Member Avatar for phpuser
0
174
Member Avatar for k2000

Hi , i am trying to retrieve a row of data from a SQL table,but i dont get the results,i just get the variable($stock_code) that i use to search for the row on the screen. <?php include "dbaccess.php"; $stock_code=$_POST["txtStock"]; // Insert the required SQL query here. $query = "SELECT STOCK_CODE …

Member Avatar for maydhyam
0
78
Member Avatar for servis

i am working on creating php templates for an application, but i am not understanding how to cover while loop in templates, my code is as follow, that is not right and of course not working at all, it is being posted just for example. Please any body give me …

Member Avatar for servis
0
107
Member Avatar for kained

I have deisgned a site. [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/home.html[/url] and am trying to get my google map sorted. [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/index.php[/url]. All the markers have disserpeared after i played about with my java script functions file [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/map_functions.js[/url] and the php database [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/map_data.php[/url]. Im sure its something really simple like i have left pout a comma …

Member Avatar for clh22793
0
126
Member Avatar for heels

Hi, I am a newbie to PHP and HTML and over here i am trying to display my sql results in a table format like this, ID. Name. Contact --------------------------------------------- ----ROW1---------------------------------- ----ROW2---------------------------------- any site recommendations where i can get help from? thanks alot.

Member Avatar for heels
0
234
Member Avatar for ellisman

I run a poker staking forum. Its brand new. What i want to know is how can i have the system calculate rates between players(50% for staker and 50 percent for horse)? Also, is there any way to have it calculate multiple people's investments into a player and also the …

Member Avatar for Ole Raptor
0
94
Member Avatar for almualim
Member Avatar for Ole Raptor
0
108
Member Avatar for ztwalsh

Is it possible to display the tables of my database in alphabetical order one letter at a time on a page? I am going to try to explain my situation as concisely as possible. Right now I have a page where I have a list of each letter in the …

Member Avatar for Ole Raptor
0
67
Member Avatar for websurfer

Hello, all: Say have 3 separate landing pages on my site (or more even), but they all end up at one common destination, how can i make it so each visitor can then go back to landing page they came from? here's the scenario: Say I have links from Google, …

Member Avatar for websurfer
0
111
Member Avatar for gptArun

somebody knows how to call mysql Procedure in PHP? i extract almost forum regarding procedure in php on google but didn't find solution. pls. reply ASAP. thanks in advance

Member Avatar for darkagn
0
94
Member Avatar for arunkumarsrec

I have recently started free domain name service <snip>. I used turnkey redirection script. My script uses php with SQL 4 . My hosting Uses sql 5. I face problem while installing. Can anybody give a solution

Member Avatar for k2000
0
92
Member Avatar for jencinas69

I wote this code to this and it works the problem is that my csv file does not have the headers ID, Description , Category in the top of the file. I wrote this code [code] <?php $list = array ( "ID,Category,Description,,,,,,,,,,,,,,,,,," ); $file = fopen("DS20080507.csv","r+", 1000); foreach ($list as …

Member Avatar for jencinas69
0
123
Member Avatar for creedalene

I am currently creating a quote form for my company website, and wanted to make it a little more friendly than the usual "thank you everyone who fills out that form over there, and who I really don't care about..." I've tried two variations of the code and I've included …

Member Avatar for creedalene
0
77
Member Avatar for kevin wood

i need to write a piece of code so that when the counter reaches 500 hundred the user is directed to a limit hit page. or if it is under 500 hundred it directs the user to the page they wanted to go to. i have used if statement to …

Member Avatar for buddylee17
0
98
Member Avatar for nizuya

Could someone tell me how to make an iframe resize based on the content without having to refresh the parent frame. I have found some things that require java script in the frame document however i'm not sure how to integrate this, as the document my iframe links to is …

Member Avatar for nizuya
0
128
Member Avatar for itsense

Hi everyone I was wondering if there is a way to store data to a mysql db after it is screen scraped? Thanks

0
62
Member Avatar for mikki2

Hi, i am creating a website for a friend and she wants a blog added to it, which is no problem for me. but she also wants to be able to view/review peoples posts BEFORE she allows them to be posted. And thats where i have the problem. i haven't …

Member Avatar for nav33n
0
88
Member Avatar for websurfer

[url]www.sampelsite.com/workCategories.php?region=Florida&city=Hollywood&type=condo&button=Search%21#[/url] In turn the mysql select statatement I have is: SELECT * FROM item WHERE category = colname AND city = cityName OR type = typeProp ORDER BY price This is not filtering the data just right, cause I need to bring back, let's say all items under "Florida" if …

Member Avatar for Fungus1487
0
131
Member Avatar for bintang

I have made the code of php to Dreamweaver. that codes are containing of date and day. But Seems Dreamweaver can't identify the code of php... This is my php code that I put into Dreamweaver: <? print(Date("l F d, Y")); ?> Anyone knows what is the code of making …

Member Avatar for samarudge
0
149
Member Avatar for scottjk

Hi. My flash form that uses a php mail script is sending the text formatting along with the data making it impossible to read. How can I strip all the formatting and just have the data left over in a readable format? Here is how the email looks: Name : …

Member Avatar for hivenk
0
275
Member Avatar for ryy705

Hello, I have a page consisting of two frames. The top frame holds instructions, the bottom frame holds a form. I need the top frame to disappear after the form is submitted. Could someone kindly tell me how I can do this? Note: The frames are parts of the requirements. …

Member Avatar for ryy705
0
131
Member Avatar for maydhyam

How do I set the session on a page, so that if I were to type the direct link for the page into the address bar, it doesn't display, instead the user would be redirected to the homepage or login page?

Member Avatar for maydhyam
0
333
Member Avatar for Vai

I am confused as to display information from my contact table depending on who logged in. also, should I change my admin table name to users? Admin Table [code] `id` int(11) NOT NULL auto_increment primary key `username` varchar(40) default NULL, `password` varchar(40) default NULL, `level` char(1) default NULL, `email` varchar(255) …

Member Avatar for Vai
0
84
Member Avatar for isomillennium

Just started practicing classes and boom my first try cant get it to work ... maybe im not seeing something ... can someone look and point out the thing that i might have misssed .. ?any help would be appreciated .. thanx here's the code : index.php <? include "page.class.php"; …

Member Avatar for nav33n
0
92
Member Avatar for james595832

Hello everyone, I'm currently building a cms system and have hit a brick wall in relation to the error I'm getting below. Any help would be greatly appreciated. Thanks James. The error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\wamp\www\widget_corp\includes\functions.php on line 41 The functions.php: …

Member Avatar for pzuurveen
0
306
Member Avatar for Suhacini

Hi, I have a table docque where I have 3 fields in it. Id,quest,answ.I will enter question and display it when I click on that question answer must be shown.Here is my code: [code] <?php include ("conn.php"); $str='SELECT * FROM docque '; $res=mysql_query($str); if($res) { while($data=mysql_fetch_array($res,MYSQL_ASSOC)) { echo '<tr>'; echo …

0
75
Member Avatar for Suhacini

Hi, Can anyone help me in writing a script for polls or voting.There are many scripts available,download them and use,but I wanted to write my own script.I have a question and 4 optins for that.I wanted to display the results in percentile and a color bar.Do I need to use …

Member Avatar for nav33n
0
162
Member Avatar for lifeworks

Hi I'm a bit confused but I think I know what Im missing. Story goes, I have a website which allows users to upload logos - I want them to be able to upload new logos if they want to... but the page that allows them to change their logo …

Member Avatar for nav33n
0
80
Member Avatar for Kraai

I am trying to get a script to work on a new server. The script was written by someone else, but it doesn't seem to work after I changed to another server. The script involves the submitting of articles, and uploading of a photo to each article written and submitted. …

Member Avatar for Kraai
0
106
Member Avatar for swapna7999

hi i have a vb application an to invoke it in a php page i used exec('app.exe'); but before this statement i have a lot of echo statements but when the page is loaded the echo statements are not displaying and the application is running and when i exit from …

Member Avatar for swapna7999
0
100
Member Avatar for bigpig

How can I display a new quote each day - to get a quote from the DB is simple, but how to change the quote every 24 hours?

Member Avatar for blocblue
0
86
Member Avatar for Pja

I have set a tooltip so that when user mouseover a picture it will display a tooltip which is the cake name. The problem is the tooltip can be display when i run the web using the mozilla firefox browser but in Internet Explorer it seems that the tooltip is …

Member Avatar for Vai
0
111
Member Avatar for jtapp

Below is my line item - it returns 'meeting times'. However, there are some cases in my DB where the meeting time is not known and the field is null. I'm wondering if I can completly remove the 'echo' on my page if the field is null? echo "<p<b>Meetings:</b> $variable21</p>";

Member Avatar for jtapp
0
117
Member Avatar for RyanLeaf

Hello, I am currently creating a PHP calculator, and I so far have been successful until this point. I want to include a exponent calculation feature, using the "pow()" function. Also, I am just curious if there is a more efficient way to code this. Here is my PHP source: …

0
64
Member Avatar for almualim

hi friends, i have problem with Arabic language in php page, how i can display the Arabic language in my pages.

Member Avatar for mwasif
0
73
Member Avatar for rackus

Hello, Firstly, Merry Christmas to everyone! :cheesy: I'm thinking of installing PHP on WinXP Pro, using IIS 5.1 as my web server. I have browsed around and there's 2 versions of PHP( i.e. PHP4 and PHP5). I have no prior knowledge or experience in PHP whatsoever. I only did some …

Member Avatar for mr4top
0
269
Member Avatar for somwang

i had made friendly url for my page, and the first Rewrite Rule was working well, but the second and other Rules are not working and show error 404 page, i try to solve this problem since last 3 days but still can not figure out, this is my last …

Member Avatar for mwasif
0
96
Member Avatar for justinmyoung

As it exists now, I have some PHP code set up so a customer can "login" with his/her customer number (job number). But I want to give them the option to use either their number or their email address. I understand the code for 1 option (job number), but am …

Member Avatar for Fungus1487
0
149
Member Avatar for Designer_101

Hey, im having a problem getting this email check to work it basicly prints out in a very origional way how manny eails you have... [COLOR="Green"][B]Check Inbox [/B]([I]3[/I]) [/COLOR] Heres the code: [CODE]$find_content = "SELECT * FROM email WHERE email_too_id = '$userid' OR all = 'true'"; $content_sql = mysql_query($find_content) or …

Member Avatar for Designer_101
0
117
Member Avatar for ryy705

Hello, I am trying to get my own(paid) website. But I am not sure about what steps I should take. I understand that signing up with a hosting company will get me storage and scripting functionalities. But I don't understand the process of getting a domain name of my choice. …

Member Avatar for mwasif
0
102
Member Avatar for Vai

I have several issues going on I have played with the code, and I have tried to follow other code snippets / tutorials as examples, but I am unable to achieve the following: 1: when the browser is closed the session is terminated or set a timeout period of inactivity? …

Member Avatar for Vai
0
114
Member Avatar for Suhacini

Hi, First of all I am Sorry for such a long query. I am using mysql db.I wanted to display data present in the db.I am using two functions showdiv() & hidediv(). For example,I have 26 tables in my db say from A-Z.In each table it has some info.for examp, …

Member Avatar for Suhacini
0
277
Member Avatar for Daywraith

Hi, I was wondering if people could help me understand PHP vulnerabilities, before I begin I explain my situation. I'm taking a 3rd year computer security course at university (for fun I have already graduated and got a job). The subject includes secure PHP programing. As an assignment we where …

Member Avatar for effu
0
70

The End.