473,775 Members | 2,570 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Forum

PHP web programming language - Ask questions about php scripting, databases, mysql, templates, PEAR, php functions, PHP-GTK, setup and installation, object oriented programming, classes, files, security, sessions, arrays and more.
0
2,624
thread by: Andrew Crowe | last post Jul 16 '05 by: Andrew Crowe
Hi guys, I've come across a rather strange, and very anoying problem. On /some/ PHP sites that we're developing on 2 different servers, files that are in the root of the website are unable to load files using relative paths (they need to be given the full "C:\Inetpub\wwwroot\website\www\folder\file.txt" rather then "folder/file.txt")....
1
2,344
thread by: lnxsimon | last post Jul 16 '05 by: lnxsimon
Hi, i have a problem with a form. In my page there is the following code: -------------------------------------------------------------------------------- <script language="javascript"> <!-- function Modulo() { // Variabili associate ai campi del modulo
0
1,787
thread by: Ecke | last post Jul 16 '05 by: Ecke
Hi, I´m trying to make a webbrowser in html/php/javascript but I don´t now how to continue.. Why do I wanna do this? I´m trying to build a "robot" which reads the content of a webpage and presents related webpages that has similar content as links. The robotpart of the issue is solved now I´m working with the presentation part. The thing is...
1
13,657
thread by: Brian | last post Jul 16 '05 by: Brian
I have an array like this: $events = array( array( '2003-07-01', 'Event Title 1', '1' //ID Number (not unique) ), array( '2003-07-02',
0
2,018
thread by: panic | last post Jul 16 '05 by: panic
If you are not familiar with the palm DB apps I am refering to, they are applications that allow you to graphically create a db by adding fields(columns) and then creats a form so you can enter the info, and also you can display it in row form. So I am looking for a program that would be a type of online record keeper, where you can via the...
0
1,932
thread by: Chris | last post Jul 16 '05 by: Chris
Hi, I'm running PHP (version 4.3.1), MySqlAdmin 1.3 & PHPmyadmin 2.4.0 on Apache HTTP Server 2.0.45. I'm having problems with phpmyadmin in particular. I'm running several tables and querying them in a PHP program. The problem arises in one particular table which is proving to be very temperamental. The most common error is the sql query...
3
3,492
thread by: presspley | last post Jul 16 '05 by: Paul Liversidge
I have bought the book on advanced dreamweaver and PHP recently. I have installed MySQL and PHP server but am getting an error on the $GET statement show below. It says there is a problem with the variable $GET but $GET is not a variable, I thought it came from the page that calls the PHP file? if(($_GET)==""){ this gets an error
2
106,616
thread by: sky2070 | last post Jul 16 '05 by: Matthias Esken
i have two file with jobapp.html calling jobapp_action.php <HTML> <!-- jobapp.html --> <BODY> <H1>Phop's Bicycles Job Application</H1> <P>Are you looking for an exciting career in the world of cyclery? Look no further! </P> <FORM NAME='frmJobApp' METHOD=post ACTION="jobapp_action.php"> Please enter your name:
0
3,029
thread by: sky2070 | last post Jul 16 '05 by: sky2070
<?php echo ("Vladimir\'s brother said, \"Ain\'t that a hoot?\""); ?> why does it return Vladimir\'s brother said, "Ain\'t that a hoot?" and not
10
4,224
thread by: James | last post Jul 16 '05 by: Ian.H [dS]
What is the best method for creating a Web Page that uses both PHP and HTML ? <HTML> BLA BLA BLA BLA BLA
4
6,199
thread by: CJ Oxx | last post Jul 16 '05 by: CJ Oxx
I have a problem with browser charset recognition when using PHP 4.1.2 (this is the PHP version which our hosting company provides). For charset recognition, I use the following meta-tag: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> Here is what I have tried so far: - Regular html page: charset is properly...
0
2,892
thread by: michael newport | last post Jul 16 '05 by: michael newport
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In yast I see that the new apache2 version is installed but not php5, its still on php4 any ideas ??
2
2,450
thread by: Stijn Goris | last post Jul 16 '05 by: Kevin Thorpe
hi all, I have this problem that I cant solve. I have created an agenda (http://28edegem.scoutnet.be/agenda.php) . The agenda contains events and birthdays of the members. I query the events and birthdays per month and sort them on date. This method works fine for the events since they are all for the same year (eg 2003) but doesnt work...
6
13,723
thread by: Jamie Wright | last post Jul 16 '05 by: Pedro
Hey there, I've been searching for a way to add up a number of numbers from a MySQL database and have come up with the SUM() statement, but I'm not really too sure how to use it. The manual doesn't give me much in the way of assistance... SELECT SUM(`length`) WHERE 1 doesn't work at all. Any ideas? What am I doing wrong, I'm fairly...
1
4,251
thread by: Jayaprakash Rudraraju | last post Jul 16 '05 by: Andy Jeffries
Hi, All php files in document root work fine. While php files in sub-directories of document root shows the php source like a text file. I have looked for help and also FAQ. Did I miss anything during the installation. I have installed both apache and php on Linux many times before actually figuring out that all my php files generate...
0
1,670
thread by: Lee Mahan | last post Jul 16 '05 by: Lee Mahan
I am attempting to download files (usually images) for viewing with either the user's browser or a program associated with the file type. Unfortunately, this requires that it works in MSIE (works ok with Mozilla and Opera) but when I attempt to use MSIE it offers a choice of either opening it or saving. Opening the message, causes the image...
1
3,639
thread by: joost | last post Jul 16 '05 by: David E. Smith
Hello, I'm kind of new to mySQL but more used to Sybase/PHP What is illegal about this query or can i not use combined query's in mySQL? DELETE FROM manufacturers WHERE manufacturers_id NOT IN ( SELECT manufacturers_id FROM products )
1
2,465
thread by: wj | last post Jul 16 '05 by: Roland Roberts
Hi all, I want to use 'location' to redirect to link to another page: <?php header("Location: http://localhost"); ?>
3
2,332
thread by: David Hickman | last post Jul 16 '05 by: David Hickman
Hi all, This is a newbie question but I have been struggling with this for ages. I have a document with 2 separate <?php sections of code. I would like to declare some variables in the first section and then read these in the second but do not seem to be able to do this. Can someone please let me in on how! :) Thanks in advance for...
3
6,579
thread by: Marcus | last post Jul 16 '05 by: David Walker
I'm really confused with something I never had any problems with before... I have a form with a textbox called password. On the second page that $password is posted to, if I test isset($password) after a submit, it always evaluates to true, regardless of whether or not anything was entered into the textbox... echoing the value simply echoes...
1
2,138
Why
thread by: Jane Doe | last post Jul 16 '05 by: RG
Hi, Under Windows, since I upgraded PHP from an older 4.x version to the latest and greatest (4.3.1), includes stopped working: <?php include "/banner.php"; ?> Here's what I get when calling any PHP page that has this snippet:
2
10,184
thread by: Dave Mateer | last post Jul 16 '05 by: Dave Mateer
Hi Why does the following code allow me to keep the same session when in the same sub domain (ie admin.localhost), yet not when I goto another related domain eg main.localhost? I would like to have the same session on the related domain. I bet the solution is really simple <grin>!... Kind Regards
2
17,856
thread by: shake | last post Jul 16 '05 by: MeerKat
I have to develop an application sounds like this:- User is allow to access a form (is actually a test/quiz) within a specific time frame, let say 45 minutes. After this 45 minutes, if the user has not yet click the submit button to submit the form, the system need to automatically submit it. So, can anyone teach me how to check the time...
1
3,034
thread by: sky2070 | last post Jul 16 '05 by: MeerKat
<?php $user="root"; $pass=""; $db="inventory"; $link=mysql_connect("localhost",$user,$pass); if(!$link) die("couldn't connect to mysql"); print "successfully connected to mysql<p>"; mysql_select_db($db) or die("i cant take it anymore ".mysql_error());
3
3,481
thread by: JW | last post Jul 16 '05 by: Paul Liversidge
It took me a lot of trial and error to get text from an HTML form into MySQL to account for quotation marks being entered. I came up with the following. It works fine but I was wondering if this is the best way. Here are the relevant snippets: 1) User enters data via post.html: <form method="POST" action="post_confirm.php" name="form">...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.