473,799 Members | 3,209 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,666
thread by: Jan | last post Sep 7 '05 by: Jan
While building PHP 4.4.0 on a fresh installed FreeBSD 5.4 I get the following error: www# /bin/sh /usr/home/c/console/toolscon/web/2/php-4.4.0/libtool --silent --preserve-dup-deps --mode=compile gcc -Imain/ -I/usr/home/c/console/toolscon/web/2/php-4.4.0/main/ -DPHP_ATOM_INC -I/usr/home/c/console/toolscon/web/2/php-4.4.0/include...
1
2,133
thread by: bissatch | last post Sep 7 '05 by: Sandman
Hi, I am currently working on a content management system where a user can fill in a form (title, keywords, link text etc. - all the initial attibutes), which when submitted, will go onto create a web page. The code is as follows: $html = "<html>\n<body>\n<p>Hello World</p>\n</body>\n<html>"; $handle =...
0
1,209
thread by: Pewpew | last post Sep 7 '05 by: Pewpew
Hello, Is there an example of successfully use of the ssh2_auth_hostbased_file(), or ssh2_auth_pubkey_file() I tryed every thing with no success. Always have Authentication failed for myuser using hostbased public key
1
5,440
thread by: Robert Oschler | last post Sep 7 '05 by: Erwin Moller
I have two sites, both with valid P3P policies that passed the W3C P3P validator, including the P3P compliant HTTP headers test. On one of the sites, Site A, I have a web page that loads a document from Site B in an IFRAME. In this context the web page on Site A is the "originating" document and the web page on Site B is a 3rd-party...
6
2,692
thread by: Zenbug | last post Sep 7 '05 by: Steve
My website has a mail form run by PHP, and I'm getting a lot of e-mails sent through it that appear to contain my website's domain after the '@', though I didn't send them. The e-mails contain no other content, so I assume it's some kind of spam bot. There must be a line of PHP that I can add that will basically say, "if the e-mail address...
3
2,192
thread by: chirag | last post Sep 7 '05 by: Smitro
i want a IMAP server for windows so that i can retrive incoming mails. I use mssql server to store user information. i need IMAP server to develop project i.e mail system can any body sent me IMAP server.
4
1,415
thread by: Zenbug | last post Sep 7 '05 by: Zenbug
Does anyone have any good tutorials on how to create a dynamic RSS feed that pulls data from a MySQL database using PHP? I found this one: http://www.tiffanybbrown.com/articles/viewarticle.php/66 ....But I haven't quite been able to get it to work. Thanks. --ZenBug
2
1,739
thread by: David | last post Sep 7 '05 by: Manuel Lemos
Is there a good DataBase Abstraction layer that will handle the mySql, Sql Server, and MS Access engines? I do not wish to write the same functions with the three different PHP db functions. I see that php_dba is listed as an extension, but I determine which DBs are supported. However, I think that it does not support the ones I need. ...
1
1,465
thread by: av_nagar | last post Sep 7 '05 by: ManChild
hello - I would like to know how do i work with php in windows tasks. i developed a php web application and i would like to recieve to my email every day a certain report which will be produced by a php script. thanks in advance for any help
3
9,302
thread by: frizzle | last post Sep 6 '05 by: frizzle
Hi there, I was wondering the folllowing: when i insert something into a mySQL DB -in a guestbook for instance- i mostly use mysql_escape_string($_POST['comment'). now i've seen mysql_real_escape_string, and i was wondering if there's a big difference between them, but most of all, i was wondering if 'addslashes()' is safe enough, because...
1
1,326
thread by: _andrea.l | last post Sep 6 '05 by: Malcolm Dew-Jones
In my office I have a lots of application. In every application we have a login and a pw. It is orrible! How to deal the login at all application by a central "thing" that let you to use one login and pw for all application? Than you in advance, Andrea.
2
1,678
thread by: anom | last post Sep 6 '05 by: anom
I have a simple loop include '../php_library/connect.php'; include '../php_library/opendb.php'; $conn=mysql_connect($host,$dbuser,$dbpass) or die ('Error'); mysql_select_db($dbname); //Open the file $fp = fopen($src,"r"); //for each line in the file while ($row=fgetcsv($fp,10000,';')) { //Get line
1
2,162
thread by: goldtech | last post Sep 6 '05 by: Andy Hassall
Right-click on a jpeg in XP click "summary" tab and there are metadata fields. My questions are: How can I extract this data for each jpeg? Is this exif data is it some proprietary MS format? I see it in my text editor... If I have hundreds of images is it possible to "program" this ie. loop and put data in a flat text file?
16
2,893
thread by: bissatch | last post Sep 6 '05 by: JDS
Hi, I am trying to use preg_replace to take out all occurances of PHP code after reading (fread()) the contents of a PHP file. The code I am using is: $html = preg_replace("<?php*?>", "", $html); Unfortuntely it is not working and giving the following error:
2
1,414
thread by: XxLicherxX | last post Sep 6 '05 by: XxLicherxX
Hello everyone, I am having a problem getting PHP to work. I have an internal website (company intranet) for which I need PHP available throughout. I followed the directions on http://www.visualwin.com/PHP, except where the configured PHP for just a directory, I configured it for my entire intranet site. Everytime I try to access a...
2
44,197
thread by: juglesh | last post Sep 6 '05 by: juglesh
hello, i have a d/l'd class that gives an array which prints like this: stdClass Object ( ] => stdClass Object ( => text => => fisrt name => yes
2
1,474
thread by: Smitro | last post Sep 6 '05 by: punkstar
Hi, I'm in the middle of building a Content Management System to be used by out school. It has gotten to the stage where I'm going to have to start building admin pages so that others can be admins, So I'm going to have to rewrite several pages to cater for this. What I'm wondering is, what is the best way to store admin variables? Should I...
34
2,806
thread by: Volker Hetzer | last post Sep 6 '05 by: Andrew DeFaria
Hi! I've done lots of programming for CAD, which was basically C/C++ and tcl/tk. Now, we are thinking about introducing more web based tools, programming them ourselves and right now the toolchain we think about is apache/oracle/php. Now, I can do oracle no problem but I'm pretty wet behind the ears about everything else. What books could...
0
1,006
thread by: Tamer Higazi | last post Sep 6 '05 by: Tamer Higazi
Hi! After I installed with the instruction (as it is described in the README) Apache 2.0 I tried to compile php. The configure command: ../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-openssl --with-kerberos --enable-dbx The compilation error results:
1
1,821
thread by: toedipper | last post Sep 5 '05 by: Oli Filth
Hello, PHP4 and MySql I have the code below, a mixture of handcoded and Dreamweaver genaratd php code. Basically it's an update record form - I load the values from a db and bind text boxes etc. This works ok. But I also have an update action - if a user changes any of the text box values then he can click update and the code should...
7
1,247
thread by: Karin Jensen | last post Sep 5 '05 by: William Tasso
Hi My site is hosted on an IIS server, where index.php is allowed as a directory index. I have been using http://www.mysitename.com/ as the main address, but http://www.mysitename.com/index.php?v=value as a link to results using the GET variable v. I have found that http://www.mysitename.com/?v=value also works.
3
1,427
thread by: googlegroups111 | last post Sep 5 '05 by: The Space Boss
PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT PHILIP BARTLETT jkljklj sdfkjlsdf jklsdf jklsdjfs ksljf...
2
2,292
thread by: Martien van Wanrooij | last post Sep 5 '05 by: Martien van Wanrooij
I have been using in a lot of websites a script that creates a menu bar but avoids that the button to the current page can be clicked. I am rather satisfied with it (although suggestions for better ways of doing things are welcome, the script follows below FYI) No there is a a problem that for a new site (www.orkestbasic.nl/nieuw) the menu...
1
2,275
thread by: Optonline | last post Sep 5 '05 by: Optonline
I'm looking to get the baseball score between the html tags on yahoo and create my own rows with just the data. So far I have this code ----------------------------------------------------------- $data = file_get_contents('http://sports.yahoo.com/'); list(, $data_split) = explode('<td width="50%" class="yspscores">', $data, 2);...
0
1,552
thread by: Angelos | last post Sep 5 '05 by: Angelos
Hello, I have the folowing code looping thru a result set from the Database and displaying a list of products. I want to use CSS to display 3 products for each line ... or any number of products that will fit in a line and look nice. So from the php side How can I do something for every 3 records e.x every 3 records echo "<ul>". Without...

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.