473,606 Members | 3,113 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Latest Bytes Forum

Support forums for various IT topics. Programming languages, databases, systems, applications and more. Subscribe to a community, participate, ask, share your expertise and network.
 
0
1,451
thread by: DesignGuy | last post Jul 16 '05 by: DesignGuy
I have a script that incorporates content from an external site ($rootdomain). During peak traffic periods the external site experiences severe slowdowns, thereby slowing down the site here. The external site does have some secondary mirrors, which I would like to revert to if the primary does not respond, say within 2 or 3 seconds. Here's...
0
1,622
thread by: Mattis Manzel | last post Jul 16 '05 by: Mattis Manzel
Hello, About the tecnical aspect of my "Idea for a better use of human intelligence" I was told, that it could be realized in php. www.terrahome.net.tc Is that true? Mattis Manzel
0
2,177
thread by: YAC WP | last post Jul 16 '05 by: YAC WP
I got problem with getting $time for example like "22:01:34" to PostgreSQL database using function $time=date("H:i:s") in PHP script. The erros is like unknow external time format. In MySQL it works correctly, and as i INSERT INTO table (time) VALUES ('22:01:24'); from psql command promt from the shell it works. Please help.
6
2,357
thread by: The Plankmeister | last post Jul 16 '05 by: Robert Hennig
Hi... I seem to remember reading somewhere about the proper way of doing this sort of thing in the middle of some html, for example: <a href="<?= $some_url_or_other ?>">Click this!</a> What is the most proper way of doing such? Would it be to do the full monty?:
3
2,368
thread by: Mike Henley | last post Jul 16 '05 by: Christopher Browne
I first came across rebol a while ago; it seemed interesting but then i was put off by its proprietary nature, although the core of the language is a free download. Recently however, i can't help but say i was totally impressed. I needed an open source wikiblog/wikilog, whatever you wanna call it, basically a hybrid of a blog and a wiki. I...
1
2,520
thread by: Ralph Freshour | last post Jul 16 '05 by: Ralph Freshour
I'm not sure the follow multiple table query is the right way to do what I need to do although it seems to be working: $php_SQL = "SELECT * ". "FROM basics, personal, photos ". "WHERE basics.member_name = personal.member_name ". "AND basics.member_name = photos.member_name ". "AND basics.account_creation_date >= DATE_SUB(NOW(), INTERVAL...
1
1,700
thread by: ad | last post Jul 16 '05 by: Matthew Vickers
For a few days now I couldn't get to http://phpwebsite.appstate.edu Does any one know what's happening or it's just my problem here? Thanks in advance. ad
1
1,572
thread by: aquilo at hotmail.com | last post Jul 16 '05 by: Matthew Vickers
I am using this standard code at the start of my script to request a user to login. After the user enters information the login box just pops back up. The script does not move to the else portion after a login is entered. It just stays in the first part of the if statement. Any help? if (!isset($PHP_AUTH_USER)) { header('WWW-Authenticate:...
1
3,629
thread by: Christophe Cerbourg | last post Jul 16 '05 by: Christophe Cerbourg
Hello, I want to read (and ONLY read) a multi-sheets Excel file with PHP. I found so many scripts on the net that I finally don't know what to choose so... could experimented users help me to directly find the one that I need ? Here are the two obvious things the script must match : - free - can read multi-sheets Excel files
1
1,601
thread by: Oliver Spiesshofer | last post Jul 16 '05 by: Oliver Spiesshofer
Hi, I am trying to run netpbm. If I enter the follwing line on the shell, it works fine If I run it through an exec(), it does not. any reason here? the line is: /home/myuser/netpbm/bin/jpegtopnm /home/myuser/public_html/b/images/IMGP1022.JPG |
4
1,647
thread by: No | last post Jul 16 '05 by: Kevin Thorpe
I have a php script that I use for a classified site, this script uses field sets that look like this f_dcode|v_255_6|Dealercode||text|||8||||No|No|No|Yes| Is this (field sets) something that is common in php and if so does anyone know of any resources that I can read about them. Or does anyone know of a utility that is designed to help...
2
2,693
thread by: David Shadovitz | last post Jul 16 '05 by: Jim Dabell
I'm new to PHP and can use some help with avoiding HTML entity trouble. I've got a page which creates a hyperlink as follows: printf('<a href="%s?txtFilter=%s">%s</a>', $_SERVER, $txtFilter, $text); Let's say that the value of $txtFilter is: directory LIKE '%data1/%'
1
833
thread by: Shaun Demellweek | last post Jul 16 '05 by: Shaun Demellweek
This is probabally a stupid question to most of you, but with the mail function, I can not find a way to put the senders e-mail in. All I get is from 'Nobody'. How would this be overcome, or is there any better function to send mail with?
3
10,708
thread by: Ralph Freshour | last post Jul 16 '05 by: Jochen Daum
I'm using PHP and while this is an HTML question, I'm looking for a PHP answer please - I've got several anchors similar to the one shown below - I'm calling a dispatcher.php script and I need to be able to determine which anchor was clicked on even tho they will all call the same dispatcher.php script - in PHP can I detect which anchor was...
1
3,831
thread by: Christian Luszick | last post Jul 16 '05 by: Christian Luszick
hi, I am using output buffering with ob_start and a callback function, which replaces variables like "%var%" with the equivilants taken out of a mysql database. This works well! But I get sometimes php timeouts (max execution time (30s) exceeded ...). The Server should be really fast enough (dual PIII, >1 GB RAM) and runs with PHP 4.1.2 and...
2
2,363
thread by: Phil Powell | last post Jul 16 '05 by: Nikolai Chuvakhin
I need to store data into XML that, often enough, is not in English. How have you guys dealt with characters not found in the English language like ä or é or å? I have to store them as "å" in my XML file, however, whenever I am doing evaluation somehow the "å" gets converted literally to "å" and when that displays in HTML it chokes, puts...
0
1,680
thread by: Eric Walker | last post Jul 16 '05 by: Eric Walker
When fetching remote files with file($url), I frequently encounter the Warning-level error message of the form: Warning: file("http://etc.etc.") - Message too long in whatever.php on line xxx I have searched the php-manual web site for the phrase, but found nothing. Could someone be so good as to explain what that warning
6
1,984
thread by: Eric Walker | last post Jul 16 '05 by: CC Zona
I am a php beginner, so apologize if this question is silly. I am encountering apparently random script stops when I try to get a remote HTML file with either file() or fopen(). A typical code snippet: echo 'here we go...'; $handle=fopen($url,'r'); echo 'and here we are'; if ($handle==FALSE)
0
1,618
thread by: Steve Edwards | last post Jul 16 '05 by: Steve Edwards
A designer friend of mine is looking to create a web site for a group of people who share ownership of a property. The two things they would like to do would be to have a calendar function so the people could log in and schedule their time at the property, and a message board functionality to post messages for the other owners. It probably...
2
3,798
thread by: DesignGuy | last post Jul 16 '05 by: DesignGuy
I'm trying to get a script to timeout if the server is under heavy load or otherwise unavailable. Eventually, this will try different mirrored domains as each one times out. But at the moment I can't even get a single domain to timeout: $fp = fsockopen("www.example.com", 80, $errno, $errstr, 2); if(!$fp) { echo "Unable to open\n"; }...
3
1,661
thread by: | last post Jul 16 '05 by:
I'm trying to create a stack of class objects; but on cycling through them with 'foreach' I am unable to update their properties. What is the correct method for this?
2
4,373
thread by: Bigfoot | last post Jul 16 '05 by: Bigfoot
Hi, In my PHP script I want to put the name of the form, i'm currently in, into a variable. So far I haven't found an answer! Greetz, Bigfoot
5
8,891
thread by: Yang Li Ke | last post Jul 16 '05 by: Erwin Moller
Hi, Anyone can tell me how to validate if a web page is online or 404 ? Thanx Yang --
4
2,011
thread by: snakeking | last post Jul 16 '05 by: Bruno Desthuilliers
Hi all, I need to learn enough php to make a 2 page website that looks nice...HELP! SK --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003
1
1,460
thread by: alfred | last post Jul 16 '05 by: Erwin Moller
very glad to meet all of you!

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.