473,544 Members | 1,843 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
1,149
thread by: Mark O'Neil | last post Sep 30 '05 by: Mark O'Neil
To be brief I would like to know if Indexdata's PHP/YAZ is compatible with PHP 5.0.3 and if so what steps may be taken taken to build it. The configure file that comes with PHP 5.0 contains no mention of yaz so how does one build PHP (and the php_yaz.so)? I have already built the yaz 2.0 libs and bins and can use the yaz-client so it is a...
7
2,661
thread by: monomaniac21 | last post Sep 30 '05 by: John Dunlop
Hi guys! Can anyone tell me how you can perform validation on a string variable in PHP so that you can check if a specific character is contained within the string. The reason for this is i am trying to create a form for a site i am making and i want to validate the user's input for the email address field, by ensuring it contains the '@'...
4
1,502
thread by: kirill_uk | last post Sep 30 '05 by: John Dunlop
Help with extracting please folks.! Hi. I have this: a variable like: <a href="http://www.some_html.com/text.html" >some text</a><br> I heed to extract the "http://www.some_html.com/text.html " and put it in var "link" And extract "some text" and put it var "text",. So basically extract all between <a href=" and " >
6
10,971
thread by: brian_mckracken | last post Sep 30 '05 by: John Dunlop
This might not be the right group for this question, since its kind of a pure html question... Given the html construct: <form action='index.php?expand=0,10000' method='post'> Email: <input type='text' name='login' size='30'/> Password:<input type='password' name='login' size='30'/> </form>
3
2,129
thread by: marsandys | last post Sep 30 '05 by: John Dunlop
Hello, I have this code below, which I am trying to have it send HTML formatted mail with embedded images. I can get this to send the mail, but it spits out a bunch of junk . I know this should be pretty simple, but I have been pulling my hair out for hours with this. :/ Can someone smart pleaseeee help me tweak this code to work? <?php...
6
13,366
thread by: tencip | last post Sep 30 '05 by: John Dunlop
Hi everyone, So, i've got a form that is very simple. It hold three elements: username, password, and domain. The goal here is to have the form submit the login to an administrative section depending on which domain someone has chosen. For instance, let's say we have three administrative sites, that all have different URLs, but we want...
1
2,731
thread by: seajay | last post Sep 30 '05 by: Andy Hassall
Hello, I've been searching on the internet for some time now and I was not able to find a solution to this problem. under apache httpd.conf file I have the following setting php_admin_value open_basedir "/home/httpd/vhosts/domain.com/httpdocs:/tmp" I understand that open_basedir will display an error when the file I am
0
1,126
thread by: chris | last post Sep 30 '05 by: chris
Hi, I have already post this question but i still wonder which is the best method for connecting Access with PHP. I know that Access is not the ideal database, but for some reason i have to do with Access. Are there advantages of some one? Thanks Chris
6
3,456
thread by: Schroeder, AJ | last post Sep 30 '05 by: Schroeder, AJ
Group, I have googled this topic and I know this has been asked before, but there seems to be no good answer except "PHP doesn't support multi-threading" I am new to PHP so I might be using the wrong terminology. I have inherited support of php scripts that backup network gear via SNMP. They currently work fine, and outside of the lack of...
4
6,177
thread by: thehuby | last post Sep 30 '05 by: comp.lang.php
Is there an acutal function in PHP for removing an element of an array? eg: array1 = ("zero", "one", "two", "three"); array1 = remove_element( array1, 2 ); // array1 now contains ("zero", "one", "three"); I have been trying the unset method but this seems to be corrupting my array (which is holding a set of objects); I can knock...
1
3,347
thread by: Faree | last post Sep 30 '05 by: Erwin Moller
Hi all, can any one come up with the code that display the images from the folder.but image should be changed for every 5 seconds.can any one com with this code. or suggest me the way to do it.quick reply will be appreciated. thanks in Advance.
13
3,219
thread by: Adam | last post Sep 30 '05 by: Jerry Stuckle
Hi! I'm trying to write a small application for an online gaming site (flight sims), where people can add their local server to a list. Basically, I just need to be able to loop/ping each respective server - via a specific port (2934 or 2935) to see whether the server is still "live", so the hosters don't have to manually update their...
3
2,823
thread by: J˙Giusł vs ::NRG::ius | last post Sep 30 '05 by: Erwin Moller
Hi all. How can I draw a table with jpgraph? I want a table as image. Thanks. G:
7
19,411
thread by: >>Shailesh | last post Sep 30 '05 by: ksmith01
CODE: $stuff = '<html><head><title>stuff</title></head><body><b>Hello</b> World</body></html>'; header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified header("Cache-Control: no-store, no-cache, must-revalidate"); //
4
1,289
thread by: julian_m | last post Sep 30 '05 by: Colin McKinnon
let say that i want to allow someone (the site admin maybe) to chose certain configuration values, for instance * number of products per page * picture widht * back color .... .... Right now, i just have all those info in a php page, so it can't be
4
8,854
thread by: thehuby | last post Sep 30 '05 by: thehuby
I have come across an issue using arrays ond objects; I am using an array to keep track of 'n' number of object(The code snippet below is from my initial testing) I first declare the object ($nr = new news_resource();), then call a function of the object ($nr->params_init(); ). This is the put into the first element of the db, I then call...
1
3,286
thread by: pizzy | last post Sep 30 '05 by: Samuel
Problem: I am trying to develope my personal site to select from my mysql database and organize data on the page so that it will display all the submissions for that day, then break and display the next day, then break and display the third day, etc... Question:
2
1,180
thread by: bobmct | last post Sep 30 '05 by: bobmct
Gentlemen; Can someone recommend the best way to search a single dimension array? I'm currently using a for loop and it doesn't seem to be working accurately. Here's an example: $_AV=array(0 => '0100', 1 => '0200', 2 => '0300', 3 => '0400',
2
3,980
thread by: toedipper | last post Sep 30 '05 by: Hero Wanders
Hello, The following bit of code does a preg match and does something if true (sets $browser to ppcie) Without using if then and else's how do I code it so it does not equal what it is testing for? So if it does not find ppc in the $agent then it does something else/sets it to something else? $agent = getenv("HTTP_USER_AGENT");
4
1,912
thread by: Oak Hall | last post Sep 29 '05 by: Colin Fine
I have a several tables the primary index field name in different in each one, how do I query with a 'where "column 1" = 3' if I do not know the name of that column only that it is the first field?? Thanks Oak
2
1,749
thread by: ramblinpeck(at)dontwantnospamgmail.com | last post Sep 29 '05 by: ramblinpeck(at)dontwantnospamgmail.com
System info: PHP Version 4.3.11, Debian, 2.4.18-bf2.4 Configure Command './configure' '--with-ibm-db2=/usr/IBMdb2/V7.1' '--with-apache=/usr/local/src/EMILLICANWORK/apache/apache/1.3.31' '--with-gd' '--with-zlib-dir=/usr' '--with-jpeg-dir=/usr/local' '--with-freetype-dir=/usr/local/src/EMILLICANWORK/apache/work/usr/local'...
2
4,175
thread by: koteika | last post Sep 29 '05 by: Andy Hassall
How can I print raw data (string) from a UTF-8 .php file? Simple echo $var ouputs unicode string to browser (with unicode prefix bytes), but if I want to ouput BLOB data (jpeg file)? Help!
5
1,461
thread by: CAH | last post Sep 29 '05 by: CAH
Hi I am going to make two tables that each have a Priamary ID called User ID, and they should relate two one another. Do i have to make this clear when building the tables, or should I just give them the same Coloum name, and then retrive data from the two tables with some kind of JOIN call? Thanks for any help.
7
2,380
thread by: BOOGIEMAN | last post Sep 29 '05 by: R. Rajesh Jeba Anbiah
How can I test PHP scripts, mods & forums (phpBB) on my PC ? I'm affraid it's little more complicated than only instaling PHP, than, I would probably need to install mySQL ... and so on ... Is there any software for this purpose available (freeware, shareware), for newbies ?
0
1,511
thread by: googlegroups111 | last post Sep 29 '05 by: googlegroups111
This is an EXCERPT from the story of the Philip Bartlett the Knight in Shining Armour from the days of hoary olde England, a story adapted by an author who shall remain nameless..... One day Philip Bartlett was coming across some evil people who liked to spread gossip and slander. As a result, Philip, being the courageous knight that he was,...

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.