473,554 Members | 2,886 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.
 
3
7,595
thread by: Seagull Manager | last post Jul 16 '05 by: R. Rajesh Jeba Anbiah
Running Apache 1.3, PHP 4.3, and WinXP, configured acc. to instructions on apache manual and php manual (as far as I can see), but getting "internal server error" in browser... log says "Premature end of script headers" for my simple test scripts PHP runs fine from the command line, incidentally I tried changing the doc_root in php.ini...
1
2,438
thread by: Mickael Faivre-Macon | last post Jul 16 '05 by: Mickael Faivre-Macon
Hi, I have compiled a dynamic loaded PHP module and sometimes I get a "invalid library (maybe not a PHP library)" message. I just have to reload the page and my module is working again. What could cause this error (knowing that the module is working 90% of the time) ?
0
4,181
thread by: Mickael Faivre-Macon | last post Jul 16 '05 by: Mickael Faivre-Macon
Hi, Can we get the POST/GET variables directly in a PHP module ? Do the Zend API provide this functionality ? Same question for the Session... Of course a solution is to pass it as a parameter: dl("mymod.so"); mymod_foo($_POST);
2
1,914
thread by: Alexander Ross | last post Jul 16 '05 by: MeerKat
I want a cookie that can have about 5 values. I was told to do something like this: to set the cookie the first time: setcookie("questions",$_POST,time()+60*60*24,"/","",0); then to add valus to this cookie later: setcookie("questions",$_POST); the problem is that when I do this, the cookie's first value is just getting
2
1,888
thread by: Alexander Ross | last post Jul 16 '05 by: Alexander Ross
I want to display a message that says "You cookie will expire in XXX minutes" based on a cookie called "cookiename". How do I do this? Thanks -- -- Alexander Ross alexross@bleen.net
6
2,490
thread by: Wm | last post Jul 16 '05 by: Wm
I'm totally clueless on this one -- I'm getting 3 copies of every Email (in plain text, not HTML as expected), from a single mail() line... Can anyone tell me what might be causing the duplicates?? Thanx! Wm <?PHP include('dbconn.php');
0
1,576
thread by: Pham Nuwen | last post Jul 16 '05 by: Pham Nuwen
Ok I have a bit of a messy problem, and I can code this solution but I'm hoping someone here can help me find a bit more elegant way to do this. basically I have a table in in the DB (postgresql) that looks something like this: Table - logdata codes time =========================================== TXD 01:00
1
25,096
thread by: Scott | last post Jul 16 '05 by: Nikolai Chuvakhin
Our company intranet is strictly PHP-based. However, one of my new projects is to publish on-demand reports generated in Crystal Reports 9. Has anyone done this using PHP? Like many non-open source software packages, there is a lot of documentation on how to do this using ASP or Java, but nothing with PHP. I even attended a Crystal...
0
1,900
thread by: lawrence | last post Jul 16 '05 by: lawrence
Dear Peter, Do we know anyone else who writes PHP code? There is too much work to do, especially if Costin and I are going to join our software together. The easiest way for us to join our software together is through high level wrapper classes that take other classes for arguments. Costin and I could move toward joining the software one...
3
3,684
thread by: | last post Jul 16 '05 by: Chris Morris
I'm curious how these two functions work together (when crypt() uses a md5 algo). Currently I know they will produce different output; is this due to the salt being used behind-the-scenes in md5()? Is there a way to allow crypt() and md5() to produce identical output or am I misunderstanding the purpose of both the functions. Thanks
0
1,807
thread by: Psykotik | last post Jul 16 '05 by: Psykotik
Hello, I've two problems with php. My spec : Windows XP SP1, KFWS 2.2.0, IE 6 SP1, PHP 4.3.3. Web server is "KF web server", a server very very user friendly (HTML interface), and which manage very well web security. Link : http://www.keyfocus.net/kfws/ But it sounds like my two problems are KFWS related, except if one has
5
1,866
thread by: Chris Mosser | last post Jul 16 '05 by: Chris Mosser
As of late I have been finding myself using an oop approach rather than a procedural one. But, it usually consists of a couple base classes and 1 created specifically for a site. I am currently working on 1 that will basically be used to create divs (or spans) and the styles used with them for use in creating cms's. As of now, it is a...
1
1,834
thread by: Ralph Freshour | last post Jul 16 '05 by: powerboy
Can someone please tell me why this function always evaluates to true regardless of what I enter? Thanks... if (!eregi ("A-Za-z", $frm_member_name)) { // invalid characters $php_login_status = "not ok";
2
2,714
thread by: Michel | last post Jul 16 '05 by: Jan Pieter Kunst
Where can I find infi or doc on "pattern match" used within WHERE clause (mysql). As I need to matche with PHP variables I'd prfer something adapted to PHP. In "PHP&MySQL Web Devlpt" (Luke Welling) I can't see much....
0
1,452
thread by: Mike Johnston | last post Jul 16 '05 by: Mike Johnston
Hi, I have a redhat 9.0 with PHP 4.2.2 installed from rpms. I have Apache 2.0.40 How do I upgrade to PHP 4.3.3 and not loose all the neat stuff configured into 4.2.2? Thanks Mike Johnston
12
4,296
thread by: James | last post Jul 16 '05 by: James
Hi, Have posted before, but will simplify problem here. For original post go to http://forums.devshed.com/t80025/s.html I have setup 2 arrays like so in my one page script: $carers = array( array('names' => 'Carer 01', 'hours' => 8, 'remaining' => 8),
3
1,899
thread by: Ankur Gupta | last post Jul 16 '05 by: Ankur Gupta
I want to creating an application where all my php(with html) is stored in the database. So my index.php would find the appropriate the php file associated with the index page. It should execute this new code as part of the original index.php. Can you please let me know if it is doable? Thanks, -- -Ankur Gupta
2
1,879
thread by: wimmie | last post Jul 16 '05 by: Kevin Robinson
Hello to all, I have a 'small' problem. I have made a application in php that connect trough ODBC to a Oracle RDB (VMS) or Basis+ database (VMS) and present the data to a user. There are 2 Oracle databases in diffrent city's and 5 Basis+ databases allso in diffrent city's. Now we have to logon to each database and can ask a question. My...
1
2,152
thread by: christopher vogt | last post Jul 16 '05 by:
Hi there, thats an error i try to solve for quite a while already but didn't find a solution yet. My problem: I'm writing a little cms, that should create a folderstructure, so that you can put files in via ftp. My script (simplified): mkdir("00000031",0777); // creates a folder named with the id of a database-record e.g. 00000031
0
1,724
thread by: Holger Knopf | last post Jul 16 '05 by: Holger Knopf
Hi, when reading lines from a text file using either of the functions file() or fgets() all characters with ASCII codes greater than 127 get scrambled. Using a hex editor I created a file containing a sequence of 128 bytes with values from 128 up to 255. After reading this file with file() or fgets() the string representing the file...
2
6,640
thread by: lawrence | last post Jul 16 '05 by: lawrence
Well, www.php.net seems utterly crashed. Does anyone know how to get an XML stream and turn it into a 2 dimensional array?
4
6,265
thread by: Spidah | last post Jul 16 '05 by: Matthew Vickers
Hi everyone I am having some problems with variable scope in my php classes. I thought varibles declared in classes were visble throughout the class, but I am finding this is not the case. What is happening is that when functions in my class go to access variables they are returning nothing even though they have had values assigned.. ...
0
1,457
thread by: Durham Writer | last post Jul 16 '05 by: Durham Writer
Hi, I am exploring/learning php and sometimes benefit from the use of already developed scripts for certain applications. Can anyone recommend a script for a blog - flat file based, as in the blog need not use a database to accomplish storing entries submitted. Also, it would be nice if it was configurable to allow more than one person to...
2
3,811
thread by: Andrea | last post Jul 16 '05 by: Andrea
Hi, I'm trying to emulate part of our client-server application as a web site so customers can use it, and I'm stuck when it comes to re-ordering items in a list. Basically we have a list of available articles ("availableItems") and a list of articles already in an issue ("selectedItems"). What I want is to be able to move articles...
0
1,567
thread by: Gary Petersen | last post Jul 16 '05 by: Gary Petersen
I've seen a couple of questions regarding the expiring of sessions in PHP. The way to control how sessions expire is to set some options in php.ini. These options are of particular use: session.gc_probability session.gc_maxlifetime session.cache_expire

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.