473,768 Members | 8,596 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.
3
1,107
thread by: Osiris | last post Dec 2 '07 by: Osiris
Now for the really kinky thing: running the following routine on my localhost(apache 2.2.3,PHP5), I get 2 2 2 2 2 2 2 1 1 1 1 1 2 2 1 1 1 1 2 2 2 1 1 1 2 2 2 2 1 1 2 2 2 2 2 1 Running it through the Eclipse PHP Zend debugger I get (which, in my opinion, is right):
1
1,434
thread by: Ciaran | last post Dec 2 '07 by: MW
Anyone have/know of a function that will clean a html string of all tags and invalid characters, ready for an RSS feed in iso-8859-1 encoding? I'm using strip_tags at present but it's not catching things like euro signs which is stopping my feed from validating. Thanks, Ciarán
4
1,591
thread by: Richard | last post Dec 2 '07 by: NC
Hi, I've got a potential client and potential problem. The client wants a website based on CMS with forum, blog and cart solution. Here's the problem. I could offer him: - website based on CMS, e.g. joomla - blog based on wordpress
1
2,943
thread by: FFMG | last post Dec 2 '07 by: Jerry Stuckle
Hi, In safe mode, (http://www.php.net/manual/en/features.safe-mode.php#ini.safe-mode), set_time_limit(...) cannot be used. http://www.php.net/set_time_limit Is there a simple way around this problem?
1
1,552
thread by: Kasper Eulert | last post Dec 2 '07 by: Jerry Stuckle
Hi I am trying to install mambo 4.6.1 on a server with safemode ON (www.one.com) I have installed the server succesfully and tried copying the safemode patcg 4.5.1 on to it. But then the universal installer doesnt work any more (I just get an almost blank site as if something is missing). Is it because the patch doesnt work with the...
5
1,090
thread by: frozenade | last post Dec 2 '07 by: pbmods
Dear all.. I've written this classes but I cannot get for desired result. class firstclass { var $tmpdir; function definetemp() { $this->tmpdir = "tmp";
10
1,778
thread by: Rob Wilkerson | last post Dec 2 '07 by: Rob Wilkerson
I'm attempting to do some work around existing code that uses bitwise operations to manage flags passed into a function and I'm quite frankly unequipped to do so. I've never done much with bitwise operations and all the reading I've done today doesn't appear to be helping me much. I'm hoping someone here can provide a remedial lesson. ...
7
2,275
thread by: Osiris | last post Dec 2 '07 by: Jerry Stuckle
Just something I would like to share: I just learned the hard way (2 days detective work on a bug) that foreach loops are not at all like for loops, not intuitive at all. BEWARE: arrays and matrices are sparse by design/definition in PHP. I'm doing some matrix manipulation in a Finite Element program. Translating Fortran to PHP, because...
6
6,446
thread by: zenner | last post Dec 2 '07 by: Krustov
Hello. when i try to "read" some websites with fopen() some of them allow but some don't Does the server knows that it´s not a web browser that it's trying to access? How can i solve this?? Below is an example of a site that gives an error when you try to read it.
7
1,223
thread by: Ciaran | last post Dec 2 '07 by: Jonas Werres
I have a result resource from a large mysql query and I need to find the single the highest value from a certain field. What's the best way to pull it off? Cheers, Ciarán
3
6,948
thread by: SilvaZodiac | last post Dec 2 '07 by: ak1dnar
Hi everyone, I'm still rather new to PHP code, and I have a syntax error. I've tried several different solutions, but it won't fix. It seems to suggest that I need a new bracket somewhere in the offending line, but being amateur, I don't know where. I've tried putting one in several places, to no avail. Clearly, to solve this in a smaller...
0
1,155
thread by: rq5znszb | last post Dec 2 '07 by: rq5znszb
The truth of the matter is that I had a struggling media company and was on my last 6 months of business untill I bit the bullet and payed an seo firm to get me where i wanted to be on search engines. http://www.atomicsearchengineoptimization.com/Monthy_plan_rates-seo-services.htmlWith in 2 months I had first page organic results and they...
0
1,162
thread by: kigoobe | last post Dec 1 '07 by: kigoobe
Hi friends I am using serialize to store a multidimensional array to the db, which looks like the following on printing directly from the database s:175:"a:5:{i:1;a:2:{i:0;s:4:"11~2";i:1;s:4:"61~1";}i:2;a:1:{i:0;s:4:"52~2";}i:4;a:2:{i:0;s:4:"36~1";i:1;s:4:"38~2";}i:5;a:1:{i:0;s:4:"41~1";}i:3;a:1:{i:0;s:4:"44~2";}}"; However, when I...
1
1,508
thread by: amolbehl | last post Dec 1 '07 by: kigoobe
Hi I have to create a php or javascript that will be called from the main page of a website and it has to recognize the clients browser which opens that webpage and send me an email ... the email part is quite simple with mailto command but using the SERVER Side lang like PHP can we find the clients browser ??
1
1,680
thread by: mukeshrasm | last post Dec 1 '07 by: stepterr
Hello Every one I want to calculate the last updated time in database. means it should display like last updated 2 hours before or 2 days before so how can i do that? I am sending the current date to the database. please help me!
1
1,318
thread by: iamegar | last post Dec 1 '07 by: ak1dnar
Hi, I want to use the following <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100%" height="50" > <param name="flash_component" value="fsMenuCubicFull.swc" /> <param name="movie" value="menu/cubic.swf" /> ...
1
3,233
thread by: mishrarajesh44 | last post Dec 1 '07 by: Markus
hi all, i am writting a program to update the record in the mysql databqse, using php. I hav designed the 'update form' totally same as my 'add form' so that by entering the mobile no. of the desired person , i will get back the update form having all fields as in add form and all field having the corresponding retrived value.. but how...
3
3,256
thread by: Georg Weiler | last post Dec 1 '07 by: Jonas Werres
Hi, I have a database PostgreSQL entry that includes the string € which is the euro sign. When I retrieve the string through a PHP SQL statement and then echo the result to the browser, it shows the correct euro sign, but in the source code, it still says € ... This is a problem to me, because I generate a PDF, and in this it still
2
1,631
thread by: trushalshah | last post Dec 1 '07 by: Markus
I want to extract outlook addresbook details from PHp Script
6
1,411
thread by: Armin Horner | last post Dec 1 '07 by: Armin Horner
hi ng. I want to integrate a status on my (business) Homepage It should look like: Right now we're in the shop ... are closed. (.. we have different working hours between saison)
7
2,209
thread by: JahMic | last post Dec 1 '07 by: JahMic
I'm having a problem with exec on my hosting server. Unfortunately, the hosting support seems to be anything but helpful. The following works fine on my localhost: <?php $MaskData = "mask.exe -e \"TestString\""; $Result = exec($MaskData, $Output, $ReturnValue); echo("Result: ".$Result);
17
2,101
thread by: The Natural Philosopher | last post Dec 1 '07 by: Singapore Web Design
WTF is it? like most of these wonder tools, you find the site, and it tells you lots of stuff that you don't need, but the main questions:- what is it? where does it fit on my server? (debian/apache2/php5/mysql) etc. why should I want to use it? go unanswered...;-)
1
1,366
thread by: arnold | last post Dec 1 '07 by: FFMG
We have about 5 PHP positions all over South Africa. Please have a look on www.compuways.co.za
6
1,388
thread by: Snaggy | last post Dec 1 '07 by: larry
I'd like a CMS which is developer oriented, not stupid and easy to use, but highly flexible and lite, with a code I could understand (not too messy) Another important thing.. my websites aren't very dynamic and there's no login, therefore I need a good caching system to avoid useless server work. What would you suggest?
1
1,564
thread by: msweber | last post Dec 1 '07 by: msweber
Anyone have any idea why PHP_SELF in phpinfo() would show something like this? _SERVER /info.php/info.php It's a windows IIS server running PHP as CGI, not ISAPI... Thanks, Mike

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.