| |
thread by: bingomanatee |
last post Jul 29 '05 by: Colin McKinnon
Is there any way to determine if a class is a member of an interface?
For a concrete example: I am implementing a "node" (Node_if) interface
on database record representing objects (children of the abstract class
Data_class) that reflects that certain records have a parent-chld
relationship. (Others do not).
I'm generating a library...
|
thread by: Mark Feller |
last post Jul 29 '05 by: Steve
I want to provide users a page where they can browse entries in a database
10 at a time, for example. I am doing this as a table, where each row is a
database entry. I want to be able to give the user the ability to modify
entries. By either clicking on a link or a button on each row, I want the
user to be sent to another page to edit that...
|
thread by: Al Dykes |
last post Jul 29 '05 by: Gordon Burditt
Does anyone have an idea on how to find ZIP+4 codes?
Thanks
--
a d y k e s @ p a n i x . c o m
Don't blame me. I voted for Gore.
|
thread by: Michael G |
last post Jul 29 '05 by: Raj Shekhar
Hi,
I have a file outside of the web root and this file contains db
username/passwds, and other config stuff. I include this file as needed in
the scripts. Is this a secure way of doing this? Would the contents of
this file ever be visible to web users under normal or abnormal conditions?
Thanks, Mike
|
thread by: Wim Hoogenraad |
last post Jul 28 '05 by: SOR
Dear developer,
Do you often wonder who built a certain website and how it is done? And who
manages that website right now?
Strange, but developers usually stay anonymous while they should present
themselfs to get more orders.
We have been working on a website to change this situation:
WebmastersLookup.com. It's a special Searchengine...
|
thread by: SOR |
last post Jul 28 '05 by: SOR
Tomorrow I will be asking for a script critique even though I know its
going to get slagged silly .
Being a php newbie means I can only write newbie code .
Will this be taken into account or are some users on this newsgroup in
fantasy cloud cuckoo land and think a newbie should be able to write
expert code ? .
|
thread by: doffer |
last post Jul 28 '05 by: doffer
I want to make a portfoliosystem where user can register and get their
own portfolio... I've started the developer work, but I'm stuck on the
image upload part... I'm experiencing some problems getting the picture
resized and thumbnailed... I'm on a apache server running php 5 with
8MB php_memory.
When uploading, the script works fine most...
|
| |
thread by: bissatch |
last post Jul 28 '05 by: drwxr-xr-x
Hi,
I am trying to create a simple form that, when submitted, will
uncompress a string entered in a textarea using gzuncompress.
The entire HTML is below:
<?php
if (isset($_GET)) {
|
thread by: Harry Slaughter |
last post Jul 28 '05 by: Harry Slaughter
I've got a client who wants to see some immediate results on a brand new
website. within a week, they'd like to see the following:
1) basic user authentication (using php sessions/cookies to maintain
authentication)
2) some basic content (text, photos, audio) uploading mechanism
3) basic content browsing in a somewhat neatly formatted...
|
thread by: Maximus |
last post Jul 28 '05 by: black francis
<?
session_start();
require_once('db.inc.php');
$id=$_GET;
if(!$id) {
header('Location: main.php');
} else {
mysql_select_db("tbl_posts")
$sql=mysql_query"SELECT * FROM tbl_posts WHERE post_id ='" .$id. "'";
|
thread by: news8080 |
last post Jul 28 '05 by: Andy Hassall
I downloaded a GUI for nagios that uses PHP but when I point the
browser at the PHP file, it shows me the source of .php file instead of
executing it,
if i use command line 'php filname.php' then I see exepected result but
why can I not do that via web??
# /usr/local/bin/php -v
PHP 4.4.0 (cli) (built: Jul 21 2005 11:55:49)
Copyright (c)...
|
thread by: varungupta |
last post Jul 28 '05 by: Gordon Burditt
Hi Group members !
I want to know about a method for detecting client's IP which is
running behind a proxy server.
I have tried functions available with PHP core but they are returning
the address of proxy server not of the client's machinel.
Is there any way to get the desired results.
|
thread by: Maximus |
last post Jul 28 '05 by: Maximus
<?
session_start();
require_once('db.inc.php');
$id=$_GET;
if(!$id) {
header('Location: main.php');
} else {
mysql_select_db("tbl_posts")
$sql="SELECT * FROM tbl_posts WHERE post_id ='" .$id. "'";
|
thread by: Stephen Oakes |
last post Jul 28 '05 by: R. Rajesh Jeba Anbiah
I am developing a site which will be very dynamic. Most of the displayed
content will come from a database (MySql) via PHP.
Some types of pages will change frequently (something like a forum page
which is always having new content added to it) and others will only change
once a day (a new news item gets added, etc.).
Although I can...
|
thread by: ergobob |
last post Jul 28 '05 by: ergobob
Hello,
I have two small PHP scripts running on a test page at:
http://www.usernomics.com/ergonomic-products-accessories5.html
Both scripts work perfectly when there is one script on a page. However, if
I place two on the page (one above the other), the second script will not
render. I get no PHP error messages - the script will just not...
|
| |
thread by: aeldaly |
last post Jul 28 '05 by: aeldaly
I know this topic has been discussed a few times here and also on
php.net, but I cannot find an answer to my specific problem. I check to
see if a user is logged in before serving admin.php like so:
<?php
session_start();
if (!isset($_SERVER) or !isset($_SERVER)) {
header("location:http://linux-place.com");
exit;
}
?>
|
thread by: opt_inf_env |
last post Jul 28 '05 by: Colin McKinnon
Hello,
Let us suppose that PHP file contains cycle which will never stop. For
example:
while ( 2==2 )
{
some usage of database;
}
User which opens this PHP page runs time consuming execution of the
cycle. My question is whether this execution will be automatically
stopped after user closes the PHP file (or closes his browser). I
|
thread by: CNerd2025 |
last post Jul 28 '05 by: CNerd2025
HELP!
I need somebody
HELP!
Not just anybody
HELP!
You know I need someone (with PHP/MySQL knowledge)
HELP!
You may have noticed the famous Beatles song with some less well-known
lyrics. But the pertinent problem is that I need help with both PHP and
|
thread by: sleepite |
last post Jul 28 '05 by: ljb
If I configure PHP with:
../configure --with-mysql --with-apxs2=/www/bin/apxs --with-sybase-ct=/usr/lo
cal/freetds --enable-track-vars --with-xml --with-zlib-dir=/rpms/zlib-1.2.3
--with-png --with-jpeg-dir=/rpms/jpeg-6b --with-freetype-dir=/rpms/freetype-
2.1.10 --with-gd=/usr/local --enable-gd-native-ttf
GD works perfectly with freetype...
|
thread by: Mike the Canadian |
last post Jul 27 '05 by: Geoff Muldoon
I am having a very strange problem sending email with php. I have two
domains. I can send an email to one domain using php but not the
other. If I put both email addresses in the mail command only the one
email will arrive. I can send emails the traditional way to the
problem domain and they arrive fine. Is there anything that might
explain...
|
thread by: Matthias Braun |
last post Jul 27 '05 by: Alexey Kulentsov
Help!
I am using SuSE 9.3, php5 and Apache2 on Linux. I try to write files to
the hard drive using the following command:
$filename = "test.txt";
if (!file_exists($filename))
touch($filename);
if (is_writable($filename))
$myfile = fopen( $filename,'w+');
|
thread by: bingomanatee |
last post Jul 27 '05 by: bingomanatee
I have a question about refrences.
I know if you have a function that returns an array and you designate
it and its recipient by "at" signs the reference is included.
/*** SAMPLE 1 *********/
function &refer_this(){ return array(1, 2, 3); };
$my_var =& $refer_this();
|
thread by: bettina |
last post Jul 27 '05 by: Alexey Kulentsov
In my old computer everything worked ok! I set the system (windows XP
like in the old computer) to my new computer but cannot open the
localhost. I have made everything exactly as before. I installed wampp2
as indicated just exactly as I did it before. Mysql is running, Apache
is running, but when I write in browser http:\\localhost should...
|
| |
thread by: julian maisano |
last post Jul 27 '05 by: luke
What i want to do is the following:
include (pagecalled.php?argument1=x&argument2=x ..... );
(I need to place the page somewhere inside another one, as if it had
been called from another link)
Doesn't work this way, but it works providing full path
include 'www.somesite.com/dir1/dir2/pagecalled.php?argument1=x&argument2=x';
|
thread by: Ben Allen |
last post Jul 27 '05 by: Ben Allen
Hi,
I've created a mySQL database with the fields id, title and content.
'ID' is a unique field. Any ideas on how I can use PHP to generate a
list of the titles which are links. When you click on a link you are
taken to a page with the content held in the database. I'm guessing the
generated links would be something like /page.PHP?pageid=x...
|