[PHP] php install error --enable-sockets
Hi , I am trying to install php with the --enable-sockets on a solaris2.8 machine . and getting the following error . Any help is appreciated . thanks ~Rahul sockets.c: In function `php_if_recvmsg': sockets.c:1728: structure has no member named `msg_control' sockets.c:1729: structure has no member named `msg_controllen' sockets.c:1731: structure has no member named `msg_control' sockets.c:1732: structure has no member named `msg_controllen' sockets.c:1735: structure has no member named `msg_flags' sockets.c:1741: structure has no member named `msg_control' sockets.c:1750: warning: passing arg 3 of `add_assoc_string' makes pointer from integer without a cast sockets.c:1754: structure has no member named `msg_controllen' sockets.c:1755: structure has no member named `msg_flags' sockets.c:1787: structure has no member named `msg_control' sockets.c:1788: structure has no member named `msg_controllen' sockets.c:1790: structure has no member named `msg_control' sockets.c:1791: structure has no member named `msg_controllen' sockets.c:1794: structure has no member named `msg_flags' sockets.c:1800: structure has no member named `msg_control' sockets.c:1810: warning: passing arg 3 of `add_assoc_string' makes pointer from integer without a cast sockets.c:1812: structure has no member named `msg_controllen' sockets.c:1814: structure has no member named `msg_flags' *** Error code 1 make: Fatal error: Command failed for target `sockets.lo' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] run commands on multiple machines
Hi, I want to run some unix commands on multiple machines(in a network) from my web server and display results in the browser . eg. I want to run "pkginfo" or "showrev -p" kind of commands on multiple machines and gather the result on the web server and display in the browser . Can anyboby give me a clue of how should I proceed ?? thanks in advance ~R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Newbie : info/tut on XML and PHP
Hi Gurus , Can you give me pointers(read urls) to "Good Sites" on tutorials or info from scratch on XML with PHP. Thanks in Advance. ~Rahul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] first three characters
Gurus, How do I extract the first n characters out of a word . I have this- $Word = attention I want - $Word_3 = att $Word_4 = atte $Word_5 = atten this is only extracting first three/four/five characters . What is the right function to use here ?? thx in advance. ~Rahul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] db to xls
Gurus, I want to query an oracle database and push the output to an MS Excel spreadsheet . Currently I am dumping it to a csv text file and reading into Excel. Is there a better way to do this?? Is there a php function for this ?? Regards ~Rahul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] create bar chart
Ali, You need to install gd library with php . Visit here for a reference tool //www.sourceforge.net/projects/phplot/ bye ~Rahul Ali wrote: > Hello, > > how it is possible to create a bar chart in php? I appreciate any hint. > > Ali > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] db to xls
Thanks Calin, I have already tried with the csv and the tab delimited text file . I wanted to know a better option bye `Rahul Calin Rotaru wrote: > You can query the oracle database and generate a text file with tab delimiter. > Then you can open this file in Excel. > > Calin > > On Tuesday 24 April 2001 10:31, Rahul Bhide wrote: > > Gurus, > > I want to query an oracle database and push the output to an MS > > Excel spreadsheet . Currently I am dumping it to a csv text file and > > reading into Excel. > > Is there a better way to do this?? Is there a php function for > > this ?? > > Regards > > ~Rahul > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] dynamically adding rows to same form.
Gurus , Problem : my php form has a 4 text field with one row . I want to put an "add another row" button at the end of the row such that clicking will bringup the previous row as well as add a new row below it for further input of data . let me know , thanks and regards, ~Rahul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Can php support ttf??
Hi, You need freetype-1.* library . You can get it at www.freetype.org . Then compile php --with-ttf=/usr/local assuming you have the library in /usr/local/lib . I struggled a lot getting the TTF fonts to work in my env . Now I conclude that only specific combinations of versions of php/gd/freetype work well with each other . I am using freetype-1.3.1 gd-1.8.4 php-4.0.4pl1 which works well for me . hope this helps. ~Rahul zhaoxd wrote: > hello all: > :) > My version of gd is 1.8.4,my php is 4.1.2,which works on apache server whose version >is 1.3.24 and my OS is linux7.2. > > When I compiled gd ,I used some libraries,such as >libpng-1.2.0,zlib-1.1.4,freetype-2.1.0,I want my gd can support ttf besides png >image,is it enough? > > Can php support ttf?I hava just compiled gd in php,but I found it can not use some >functions like ImageTTFtext and ImageTTFBBox,why? > > Is that right that gd-1.8.4 can't support functions about ttf ,just as gd cannot >support gif? > > Thank you > zhaoxd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] sessions and REMOTE_USER
Gurus, I am a relative newbie to sessions in php. Question: How can I get the loginname of the user . Can session and session variables get this??. Another way I have tried(but unsuccessfully !!) is to have a .htaccess file in the directory . Once the user logs in I use the following code to get his login name in a variable. but on execution nothing gets printed. Any solutions ?? thanks in advance, ~Rahul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] what could cause the maximum execution time exceeded?
Just wondering ---if your question means . Where is the time limit set ? then the answer is ---php.ini file (usually sitting in the /usr/local/lib directory) . please ignore if I interpreted the question wrong !!. bye, ~Rahul "B. van Ouwerkerk" wrote: > At 11:02 10-4-01 -0500, Jacky wrote: > >Hi people > >I ran a PHP page and there was an error said below: > >Fatal error Maximum execution time of 30 seconds exceeded in > >include/getRoomDesc.php4 > >What could cause this?? > > The rain??!! HOW should we know without some code.. You can post it or > put it in a .txt file and give us a link.. > > Uhm.. The problem might be caused by a slow response from the > databaseserver.. seems to happen if an ISP's server is crowded. > Could also happen if you try to connect to a remote source.. > > Bye, > > B. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]