473,809 Members | 2,591 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.
5
2,004
thread by: Karin Jensen | last post Aug 22 '05 by: Will Woodhull
Hi I am writing in PHP and trying to work with regular expressions on records in a multilanguage database. I understand regexp basics, but have bitten off more than I can chew here and really need help. The problem is to do with generating all strings that match a pattern defined in terms of brackets and slashes. Here, brackets mean...
2
1,374
thread by: PHPGB | last post Aug 22 '05 by: Peter Fox
For want of a better description i've just starting writing my first real pre written script for others to use called www.phpgb.co.uk A problem I have is I have nothing to compare it with and can only really guess at what the punter does or doesnt want . The first website I seen that used my script was a indian restaurant in australia and...
2
1,366
thread by: Andrea | last post Aug 22 '05 by: Andrea
Hello NG, It would appeal to have some Vs. to seem to me on this type of product: a hard disk virtual on Internet that allows the management of customers. For hour I have written some procedure and the demonstrative you can find it to the following address: http://www.andreabalboni.com/tools/vfs/index.php Thanks,
4
1,569
thread by: Archibald | last post Aug 22 '05 by: Tim Van Wassenhove
I want to improve security of a multiplayer online game written in php and mysql. Because I'm new to this stuff I would appreciate some tips. If you have time look here http://web.rulex.net/archi/Medieval_Lords/ and check what are the main problems (please don't hack it more than needed because there is a test game taking place there, just to...
4
2,690
thread by: Marcin Dobrucki | last post Aug 22 '05 by: Hero Wanders
I've been having some problems with a parse error that I can't figure out (PHP 4.3.11 on Solaris9). Sample code: <?php // getting strange parse errors on this class A { var $value; function A() { $this->value = 1; }
3
4,562
thread by: James | last post Aug 22 '05 by: James
Hi guys, I have been building a search engine here - not because I have plans of dethrowning Google but as a simple app upon which to develop a function set that I can use for other things. So I coded my little search engine, uploaded it and it didn't work with my host (Dreamhost.com): Warning: fopen(): URL file-access is disabled in...
2
1,401
thread by: Csaba Gabor | last post Aug 22 '05 by: Csaba Gabor
Is there any way (on Windows) to determine, from within php, the directory that it is running from? In other words, what is the path to PHP? This particularly concerns the CLI php versions. On Linux, it has been suggested to do: which php but even this wouldn't help me since that would just show A php on the include path and not...
2
2,257
thread by: Robertico | last post Aug 22 '05 by: Robertico
Hi, I tried to use the Passthru and System function to resolve some whois information. echo passthru('whois 62.69.168.12') .'<br>'; -or- $whois = system('whois 62.69.168.12', $retval); It works fine, but all the result text is at one line. How can i format this
5
1,365
thread by: Des | last post Aug 22 '05 by: Alvaro G Vicario
I have renamed all my files from html to PHP. The first problem I have is CSS can anyone tell me the equivelent for this please. The URL for this site is http://www.hopechurchuk.com/Development Desmond.
4
3,316
thread by: emily_g107 | last post Aug 22 '05 by: Karl A. Krueger
Hi, I need to limit results in the following query type: http://www.somewhere.com/php/sql-a.php3?server=1&db=mydatabase&table=mytable&sql_query=SELECT+Field_1%2CField_2%2CField_3%2Cidno+from+mytable+where+1+and+field_1+like+%22string%22+&sql_order=&pos=1 I found a reference that says I should be able to use LIMIT x, but I don't know...
8
11,067
thread by: Ward B | last post Aug 22 '05 by: Jerry Stuckle
Greetings all. I'm getting the following error message... Unknown column 'icaodesc' in 'field list' when I try to update a table from a PHP form. What 'field list' is it referring to? My PHP script or the MySQL table???
8
2,745
thread by: TheTeapot | last post Aug 22 '05 by: Dimitry Rybkin
Hi all, Here's a puzzle: // Say I have an array of numbers set up like so: $arr = array(15,16,17,100,121,1000); // How can I create a function so that I can use it like so: addleadingzeros_arr($arr); // and have the output look like:
3
1,787
thread by: one2001boy | last post Aug 22 '05 by: Mladen Gogala
Hello, I can build php 5.04 with apache 1.33 statically with the apache configuration option: --activate-module=src/modules/php5 How can I build php 5.04 with apache 2.0.54 statically? It seems that the information I have only shows how to build php as a dynamical module of apache. Thanks.
3
2,163
thread by: Smitro | last post Aug 21 '05 by: Marcin Dobrucki
Hey, I have a site that is about to go into production and it has a couple of tables that it uses that could get quite large once in full swing, most of them have a column called "id" and it auto increments every time a new row is added. When setting this up, what do you recommend using at the column type and size. atm I have gone for a...
1
2,615
thread by: Lisa Pearlson | last post Aug 21 '05 by: Colin McKinnon
Hi, I wish to write a little server script. It receives binary data and sends it back. Communication goes back and forth, so using apache is not possible. My little script will be a shell script in php. I am thinking about having it invoked by xinetd instead of being a server running all the time. I looked at the source code of nanoweb,...
3
2,268
thread by: ralphNOSPAM | last post Aug 21 '05 by: Ken Robinson
I'm trying to send a Txt Msg to my Verizon cell phone using PHP Mail(). I use a mail gateway that verizon has provided. It works OK - but - the From string I see on my cell phone when I get the txt msg always shows 'From: postmaster@notice.com' instead of what I want: 'From: webmaster@notice.com.' Here is my code below. Does anyone know why...
6
2,097
thread by: google | last post Aug 21 '05 by: sigol
Hi I'm a newbie. I want to create a simple script that reads a text file (quotes.txt) and picks a quote from the file at random. There will be one quote per line in the file. Any help would be greatly appreciated.
8
2,129
thread by: Robertico | last post Aug 21 '05 by: Doug Jones
Hi, I found a tutorial to create an oline photo album (php and mySQL). Great, but i'd like to add some user management and that's not in the tutorial :-)) So i'am looking for an example, tutorial, or what ever that explanes me how to use user management with php and mySQL. If this is not the right place for this question, please advice me...
14
2,520
thread by: Peter Chant | last post Aug 21 '05 by: Peter Chant
I'm currently authenticating a site I have built using basic http authentication built into apache. This has zero overhead on php which is a bonus but it seems to not quite work how I'd like. Are the username and password in the login box that comes up encrypted? When I login https://mysite.local:portnum I get the login dialog. As I am...
10
1,951
thread by: David T. Ashley | last post Aug 21 '05 by: Philip Herlihy
Hi, I'd like to do some basic graphics. For example, if you look at: http://www.marshallaviationcenter.com the banner graphics at the top that apparently used an image editor with some fonts built in and the way the airplane pictures are faded around the edges.
1
1,782
thread by: rudderstick | last post Aug 21 '05 by: Ewoud Dronkert
Hi there all, I have an interesting problem.... I work for a company that develops software for the building industry and would like to distribute one of our software products via the web. here is the problem
2
1,659
thread by: Nullogic | last post Aug 21 '05 by: Nullogic
Ok, there is something simple that I'm missing.. I've verified that the c code works via another c program. But I'm not able to read in the variable from php.. Please take a look at the code http://pastebin.com/341847 TIA for anyhelp, Null
10
2,050
thread by: Nimit | last post Aug 20 '05 by: Nimit
Hi, I wasn't sure which forum this post belongs to, so I've posted it to a couple forums that I thought may be appropriate. In giving me advice, please consider me a beginner. Below is a synopsis of my problem/question: SOME BACKGROUND: - I am writing a php based web application. - There is a very data intensive task I need to do that...
6
2,684
thread by: sherryonline | last post Aug 20 '05 by: Gleep
i have a page and i need that page to be called every day at 12:00 that page is going to connect to the database fetch some emails and will start mailing them how i am goning to do this.
2
1,669
thread by: ChronoFish | last post Aug 20 '05 by: Lisa Pearlson
I know this topic comes up every so often - so I thought I would annoy everyone and ask again..... I am looking for a way to write PHP apps on a Palm based computer. Why? Because I like PHP, and the whole Palm OS paradigm is very web-server like (from a user point of view). If the you envionsion a plam screen as a web browser and the...

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.