473,811 Members | 3,241 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.
2
1,198
thread by: racin_vegas | last post Aug 24 '05 by: John Dunlop
I am trying to find out how I can protect my pages from being copy with the mouse, primarily about protecting images and product test/information?? -- "There are no such thing as problems, only opportunities to learn something new!"
0
1,003
thread by: PHPGB | last post Aug 24 '05 by: PHPGB
www.phpguestbook.co.uk I know its going to be ripped apart by experts but what the hell its only usenet . I figure I still have about 2-3 months work ahead of me and its far from being finished - but it works enough to use . Obviously i'm curious how the config file appears to others as I havent had any feedback on it yet , Is...
2
1,315
thread by: r6uji7 | last post Aug 24 '05 by: Jerry Stuckle
hello, we have a website (with php pages) and has a particular page that reads a csv file and displays the data on that page. since we work and the firewall often prevents the ftp access, what we want to achieve is to be able to email the csv files (as attachments) to a set address (say files@domain.com) and what we want is to have some...
0
1,587
thread by: oliversl | last post Aug 23 '05 by: oliversl
Hi, I have a stock RHEL4 server and not that the imap_open() function no longer works. I have a local pop3 server running dovecot that I use to autenticate with this line: $imap_stream = imap_open("{mailserver:995/pop3/notls/ssl/novalidate-cert}", $username, $password, OP_HALFOPEN);
3
1,504
thread by: slava.shklyar | last post Aug 23 '05 by: Christoph 'knurd' Jeschke
Hello, I'm writing some application that authenticates users via LDAP. When user going to login he sends user/pass by GET request to the application adn gets his ID back. Some users that have irregular characters in the password ( !^&%@#... ) can not login. I tried to encode password ($_SERVER) with urlencode() and base64_encode() but it...
2
1,457
thread by: bissatch | last post Aug 23 '05 by: Andy Hassall
If I want to determine what data types a table has, how would I do this using PHP? I tried looking into SHOW TABLES but would I be correct in saying that just displays a list of tables? I want some way of analizing a single table and outputing the column data types. Btw, I am using a PostgreSQL database. Cheers
7
1,691
thread by: p2 | last post Aug 23 '05 by: p2
Hi, I'm setting a cookie with setcookie, and as long as I'm not closing the browser - the cookie is kept and passed to the next page. But as soon as I leave the site or close the browser, the cookie is gone, ans there is nothing in $_COOKIE dor the next time. The cookie is not shown in the cookies folder.
1
1,979
thread by: ralphNOSPAM | last post Aug 23 '05 by: Joachim Weiß
I'm trying to download a text file named KLAX.TXT at tgftp.nws.noaa.gov using if (ftp_get($conn_id, "Metar Reports/$local_file", $server_file, FTP_BINARY)) { print "Success";
2
9,325
thread by: bissatch | last post Aug 23 '05 by: bissatch
Hi, I am trying to write script that is run when a form is submitted. The form contains an image input field and when submitted, the image is uploaded, resized and added as binary information to a db table. Please note, I am using a PostgreSQL database I have written all the code out below that deals with the submission processing:
0
1,035
thread by: Domestos | last post Aug 23 '05 by: Domestos
Hi all, I am using XAMPP (latest version) I have got MySQL, PHP, Apache etc.. I wanted to change the root directory shown in PHPINFO(); for XAMPP for my localhost:// Is there an easy way to do this? i am a complete novice and first timer and I assume that if I change it to 'C:\web' my php files (in that directory will be shown)
2
1,151
thread by: Csaba Gabor | last post Aug 23 '05 by: Csaba Gabor
Is there a way that I can name a "variable" that I want to set, when that "variable" might be an array element? For example: <?php function setMe ($varName, $varVal) { $greeting = "Hello"; $aRay = array("there", "Fred"); $$varName = $varVal; output( "$greeting " . join(", ", $aRay)); }
0
1,055
thread by: Erwin Moller | last post Aug 23 '05 by: Erwin Moller
Hi group, I am probably going to develop a webapp for some company. They want SQL Server as database, which is fine with me. They have W$ machines for webserver (IIS5 I expect) Their first choice for scriptinglanguage was VBscript/ASP and allthough I can do that, I prefer coding in PHP, so maybe I can talk them over to PHP. :-) Now...
0
1,020
thread by: Ian N | last post Aug 23 '05 by: Ian N
Hi, I'm trying to intergrate an XML data feed with an existing website to provide currency conversions. The rates will need to be stored in a MySQL database after the feed's been updated by XE.com, the site will then access all of the rates via the MySQL table. I'm having problems figuring out how to get the rates into php and then
5
1,737
thread by: Dross | last post Aug 23 '05 by: Dross
I keep getting the "failure to connect" error message when trying to send an email. My system (engr01, winxp) is running a webserver and php, the mail server is on a different system (ser01, win2000) on the intranet. I have tried many combinations of smtp=\\ser01; and none seem to work.
1
3,993
thread by: googlegroupsneu.20.Jumbo1 | last post Aug 23 '05 by: Steve
Hallo, ich habe eine Frage zum Thema Einbinden von PHP-Dateien mittels include / require mit einem absoluten Pfad (http://...): Die Problemstellung: Auf unserer Website werden täglich News veröffentlicht. Jetzt möchten wir externen Partnern die Möglichkeit geben, eine Newsbox in ihre Website zu integrieren, die jeweils unsere 5...
2
1,338
thread by: ProgDario | last post Aug 23 '05 by: ProgDario
I'm using the auth method. I wonder how to change the encryption method from MD5 to text only. On the changelog I can read it's possible but I can't find anything on the docs. Any idea?
5
1,780
thread by: News KF | last post Aug 23 '05 by: Alvaro G Vicario
Hi, I'm new to cahce control, so I hope my question makes sense. let's assume a small php file like <html><body> <?php
4
9,654
thread by: Smitro | last post Aug 23 '05 by: Alvaro G Vicario
Hi, I know php is able to pass a file through, but I have never done it before. This is my dilema, I have writen a secure site. Everyone must login to see the data. But I would like to secure pictures to start with, but also other files that people upload. The problem is that people can upload anything, it's not limited
2
3,439
thread by: cixisan | last post Aug 23 '05 by: James
Hello. I'm a newbie in PHP5. I just bought a Wrox book and I started setting up my IIS 5.1 on Win XP Pro and PHP-5.1.0RC1-Win32 I was following this web guide http://www.peterguy.com/php/install_IIS6.html#phpInstall but I'm stuck at 3.1 paragraph I can't find in IIS Manager the Web Service Extensions, infact I just have
4
1,988
thread by: Raffi | last post Aug 23 '05 by: Ramon
I'm developing an application where the main page has an iframe that contains the form. The "Submit" button is located on the main page (not the iframe). Is it possible to get the form data from the iframe when the "Submit" button is pressed in the main browser page? Thanks, Raffi
2
1,658
thread by: meltedown | last post Aug 23 '05 by: meltedown
This represents 2 fields in a mysql database => 2005-08-22 18:04:41 => 2005-08-22 18:05:08 I want to find out the difference between these 2 times. I don't have access to mysql's DATEDIFF function. How do I do this ? Its there perhaps, a web page that explains how ? I have looked at the date and time functions of the mysql manual but...
1
1,654
thread by: bissatch | last post Aug 22 '05 by: Michael Winter
Hi, I have had to reinstall windows and at present I am currently trying to put back in place my apache2/php4 setup. I have installed apache and I get the http://localhost 'apache is installed' page. Nice one! When I try to configure apache with PHP unzipped into a folder (c:/php) and run it as a module, no matter what I try it just...
1
3,146
thread by: Busy | last post Aug 22 '05 by: Ken Robinson
Hello Everyone Please can someone point me in the direction of a really good tutorial or discussion on PHP page transition? What I'm looking for is coverage of page transition that covers: Breaking out of frames in PHP - for and against arguments with examples; Carrying forward variables - the various methods of moving variables from
5
1,825
thread by: Shawn Wilson | last post Aug 22 '05 by: eraseit
I am an ameture digital photographer (along with a newbie developer) and I've an album of my pictures online. I've been building this album to be just how I want it and I've come to one last feature that I can't figure out. How do I read the extra file info from a .jpg image file (or any other file for that matter)? Each one of my...
7
2,140
thread by: Jan Wagner | last post Aug 22 '05 by: Jan Wagner
Hi, I'm running into a problem with php 4.1.1 on IIS (XP Pro version). For example writing a page test.php that starts with <?php session_start(); ?> <?php echo '<?xml version="1.0"'; ?> <?php echo ' encoding="utf-8" ?>'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

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.