473,541 Members | 15,080 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
3,092
thread by: Joozju | last post Jul 16 '05 by: Joozju
My /etc/sysconfig/i18n file reads LANG="nl_NL". When I use PHP for web pages and the function gmdate() in particular, output still appears in English. <?php echo gmdate("D, d-M-Y"); ?> outputs Tue, 08-Jul-2003. I want it , however to appear in Dutch. Does this have to do with my locale or the way PHP works? Thanks in advance. Joost
1
2,235
thread by: michael newport | last post Jul 16 '05 by: Fish
I have followed quick instructions as per manual but no luck , if I put this in the browser http://localhost/phpMyAdmin-2.5.1/index.php I am asked if I want to open it, then I have to give an application name to open it with, I should be given the logon page I am using Suse 8.2, I would guess that an association is missing with
1
8,697
thread by: James | last post Jul 16 '05 by: Marcus
What is the best way to update a record in a MYSQL DB using a FORM and PHP ? Where ID = $ID ! Any examples or URLS ? Thanks
0
2,168
thread by: Chris S | last post Jul 16 '05 by: Chris S
Hi, I have been running PHP as a CGI for a few months now (using suExec patch @ http://www.localhost.nl/patches/apache_1.3.27-php-suexec-patch). I decided to upgrade to version 4.3.2 (from 4.3.1). I configured 4.3.2 exactly the same as 4.3.1 using ./configure --with-mysql --enable-cgi. I did a make install and then copied the...
0
2,189
thread by: Aldo Polli | last post Jul 16 '05 by: Aldo Polli
Hi, I have this error when I start apache2 with php4 Syntax error on line 233 of /mypath/apache2/conf/httpd.conf: Cannot load /mypath/apache2/modules/libphp4.so into server: dynamic linker: /mypath/apache2/bin/httpd: relocation error: symbol not found: ap_pass_brigade; referenced from: /mypath/apache2/modules/libphp4.so I compile apache...
1
2,052
thread by: Mike S | last post Jul 16 '05 by: Bruno Desthuilliers
I have an application that suffers from my amateur coding inefficiencies, and I am trying to clean a few things up. I have an extremely database intensive object, which I have tried breaking into smaller child objects to reduce database queries when they aren't needed. I currently have something that looks a bit like this: class Object...
2
2,305
thread by: Stijn Goris | last post Jul 16 '05 by: Stijn Goris
hi all, I have a textarea in which users can enter text. When submitted the data is stored in a database. This works fine except when a new line is inserted (enter). This is not stored in the database. Is it possible to do this? regards
2
8,549
thread by: Felix | last post Jul 16 '05 by: Marius Mathiesen
Hi, I've a problem: I want to have the result of my Mysql Query in a Table in my php file. Now I've this: <?
1
2,380
thread by: Andrea Stein | last post Jul 16 '05 by: R. Rajesh Jeba Anbiah
hi, i've a problem to zip files which are uploaded to the server. (include the class zip.lib.php from phpMyAdmin) require("inc/zip.lib.php"); $zipfile = new zipfile(); //add the uploaded file to the server (i know that this is not the temp //name of the file, so in this case, i would have a zipped and a unzipped
1
1,804
thread by: Madhusudan Singh | last post Jul 16 '05 by: Ruben van Engelenburg
Hi I have completed a PHP+ MySQL application that uses and stores sensitive data (uses SSL via https). My query is a little non standard here - What can the designer of such an application do to mitigate the effects of hackers getting into the system run by the hosting company ? I know nothing is safe if they get root access, but I guess...
2
8,413
thread by: Fredrik Jonson | last post Jul 16 '05 by: Fredrik Jonson
Hello, I'm writing a newsletter poster for a website. I have some html news items which I want to turn into plain text and prettify before emailing it. Now, i have found wordwrap and strip_tags so the only problem remaining is the links. Below you see what I like to see, but I haven't got a clue how to get there.
0
2,020
thread by: Nel | last post Jul 16 '05 by: Nel
Hi Has any of you fine people found a PHP image gallery that works in Safe Mode? I am fed up with downloading one after another when they all seem to fall down in Safe Mode!!! :-( I could just write one myself, but it seems a bit excessive when there must be one out there, I hope.
0
1,526
thread by: Madhusudan Singh | last post Jul 16 '05 by: Madhusudan Singh
Hi I have completed a PHP+ MySQL application that uses and stores sensitive data (uses SSL via https). My query is a little non standard here - What can the designer of such an application do to mitigate the effects of hackers getting into the system run by the hosting company ? I know nothing is safe if they get root access, but I guess...
1
2,572
thread by: James | last post Jul 16 '05 by: Brandon Blackmoor
I have a form with a drop down list.. When the user selects the value from the list I want it to refresh automatically, as if the user has pressed submit... I have named the form 'test' and added onchange="test.submit();" to the Select field.. as so : <select size="1" name="search" onchange="frmtest.submit();">
0
1,766
thread by: greg brant | last post Jul 16 '05 by: greg brant
imap_fetchstructure -- Read the structure of a particular message a query about this function..... (from php manual) Description object imap_fetchstructure ( resource imap_stream, int msg_number ) This function fetches all the structured information for a given message. The optional flags parameter only has a single option, FT_UID,...
1
3,208
thread by: Nobody | last post Jul 16 '05 by: Jeffrey Silverman
Greetings, My hosting provider does not support GD libraries yet. I want to generate simple graphics on-the-fly. Anyone have a working sample of "text-to-graphic" code that does not rely on the GD libraries? Thanks! Jerry
3
2,208
thread by: Edward Principe | last post Jul 16 '05 by: DjDrakk
I'm working on an OpenSource project, and I'm looking for a web designer to write and administer the web site associated with the project. The project is a free (no money involved) project, and there's no money involved, but it will be a great experience if anybody is interested in being the web master of the project. The project is a...
20
11,637
thread by: Chris Krasnichuk | last post Jul 16 '05 by: Geoff Berrow
hello, Does anyone know how I make php work on "my" computer? I made a mistake in my last post so I fixed it here. Chris
2
3,148
thread by: Adams-Blake Co. | last post Jul 16 '05 by: Adams-Blake Co.
Can this be done in PHP? I want to read a directory and for each file with a .sql extension that is older than 3 days, I want to delete it. I have a cron job that makes mysqldump files (xxx.sql) each night and only want to keep the last 2 or three of them around. This will also be a cron job (I know how to run a php script in cron.)
1
2,333
thread by: Bob Trautman | last post Jul 16 '05 by: sam
I have installed MySql on a Windows 98 workstation. I start the service with the command: mysqld I can connect to the database and see tables, etc. I have installed Apache Ver 1.X with PHP ver 5.0.0b1 Simple PHP scripts work fine. When I try to connect to the Mysql database I get this error from PHP in my
10
3,820
thread by: Lukas | last post Jul 16 '05 by: Ian.H [dS]
I want to send an email directly to a directory on my server what script do I need to do this? Maybe I should add a line to my aliases file like this: emailaddress: "|/usr/bin/email2directory" ? Thanks for some suggestions
2
1,930
thread by: fartsniff | last post Jul 16 '05 by: James Sleeman
It has to be something with the characters, right ? $search = array(".", "\", "+", "-", "*", "/", "!", "%", ">", "<", "^", "(", ")", "", "{", "}", "\\", "=", "$", "#", "?", "~", ":", "_", "&amp", "&copy", "&nbsp", "&quot", "&uuml", "&", ";", "\n"); $line = str_replace($search, " ", $line);
4
6,099
thread by: noone | last post Jul 16 '05 by: Nobody
hello all. I am using this code to randomly select one value from an array. srand (); $rec = array("1","2","3","4","5","6"); $rec = $rec; print $rec; problem is, is sometimes it returns nothing. can anyone see how to make this so it always selects something.
1
3,479
thread by: Alex | last post Jul 16 '05 by: Jochen Daum
Hi i want to install php (4.1.2 4.2.1 4.3.1 whatever) on solaris 8 i gave up instaling curl 7.9 so i managed to install curl 7.8.1 from sunfreeware and then tried to install php ,i had to install a couple of packages like gd ,gdbm and etc and then i could pass the configure phase! but during make i got this error: curl.c: In function...
0
2,101
thread by: Paul Rogers | last post Jul 16 '05 by: Paul Rogers
Wanted in Brisbane, Australia. Interesting project, experience required in community site development. Enquiries by return mail. Thanks, Paul

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.