473,800 Members | 2,623 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.
1
2,252
thread by: beepdev | last post Nov 10 '07 by: Atli
I am looking around and I am very interested in memcached and it's php extension. After looking around on the net I can't get myself acquainted with it. My website is written in php and uses MySQL as the database. It is a fairly small site for linux distros. Having so many people connect to the site creates a major load on apache and MySQL. ...
2
3,966
thread by: luckyG | last post Nov 10 '07 by: luckyG
I have php (5.2.4) compiled on redhat 4.0 as followed : ./configure \ --with-oci8=$ORACLE_HOME --with-apxs=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache/conf \ --enable-sigchild \ --with-gd \ --with-ttf=/usr/include/freetype2 \ --with-freetype-dir=/usr/include/freetype2 \ --with-gd-native-ttf \
2
2,680
thread by: kad123 | last post Nov 10 '07 by: kad123
Hey there I would like to get the events of my mailbox calendar straight from MS Exchange. This can be with or without PHP (like XML exporting from OWA or other languages like ASP etc.). Can anyone guide me in the right direction. Also, I cant install any software on the server. Thanks in advance
2
1,790
thread by: ahmetbm | last post Nov 10 '07 by: ahmetbm
Hi all: $products_quantity = $HTTP_POST_VARS; " 'bulk_products_quantity'.$i " is the name of the textbox, it is getting the value of textbox via it's name field, i am trying to do it via id field, i will give same name " 'bulk_products_quantity'.$i " to id field, any helps please...
2
2,964
thread by: robin1983 | last post Nov 10 '07 by: robin1983
Hi, how are u all? I am using wamp for my php program to run. Actually, i m installing the in my system. Actually, i want to know is it possible to access the program from other system in my LAN. suppose my system ip address is 192.168.1.11 and i want to run the php program from a system who's IP address is 192.168.1.12. When I execute in my ...
9
19,658
bhing
thread by: bhing | last post Nov 10 '07 by: bhing
Hi, please help me. I have a few forms and I need send there forms by one submit input. They have the same form action and almost the same fields. It is like a referral page. for example <form> <input type="text" value="1" name="id" id="id" /> </form>
2
1,160
thread by: mstng07 | last post Nov 10 '07 by: beepdev
How can i get a return value of 1 if the user exists in the table instead of it returning a -1? <?php require("config.php"); if($_GET == 'post') { if(empty($_POST) || empty($_POST) || empty($_POST) || empty($_POST)) { //if everything is not filled in than prints out error message
2
5,352
thread by: mukeshrasm | last post Nov 10 '07 by: ak1dnar
hello i want to display the subjects on the same page based on class selected by user. i am using dropdown for classes. so when user will select a particular class then it will display subjects in the same page based on class from database. i am giving my code along with so please tell me the error. code for database <?php include...
11
1,934
thread by: windandwaves | last post Nov 10 '07 by: Darko
Hi Folk I need to write a tricky replacement function. C = replace A with B in C C = replace D with E in C examples of A could be "a cat climbs a tree", examples of B could be
9
1,289
thread by: joshuajnoble | last post Nov 10 '07 by: Darko
Is there any difference between doing: $var & 0x80; and $var &= 0x80; I've seen the second, using the &= in production code, but on my local machine it errors out. Any thoughts?
18
2,845
thread by: Shelly | last post Nov 10 '07 by: Darko
Opinions sought: ============ A prospective client wants customizations to Joomla using PHP. I have not done anything with Joomla. Is it worth my while to invest the time to set it up and learn it? If it is, where would you recommend as a starting place. I looked quickly on the web, but not found anything directly to the point, and as I...
1
2,249
thread by: Nelliwinne | last post Nov 10 '07 by: Atli
I do not have proper excellence at php programming. I wrote below script after reading several articles. Anyway that form-to-mail script doesn't work. form action is connected to following code <?php require_once "send1.php"; $from = "Sandra Sender <user@myweb.com.com>"; $to = "Ramona Recipient <myemail@gmail.com>"; $subject = "Hi!";...
1
1,625
thread by: ghe | last post Nov 10 '07 by: Atli
Good afternoon to all, I have another inquiry about PHP, I just wanted to ask how can i create TRIGGERS in PostgreSQL (PGSQL) via PHP? Does PHP offers other functions with the same functionality as of oci_parse() function? because base from what i have read, in order to use oci_parse(), you first need to have installed Oracle in your PC....
1
2,111
thread by: Kevin Davis | last post Nov 9 '07 by: Darko
Hello, I'm seem to be having some problems with sending output to PDF. The error message is that I'm getting is the following: Adobe Reader could not open *****.pdf because it is either not a supported file type or because the file has been damaged. What I'm using for to send output to pdf is the following: header("Content-Type:...
5
2,838
thread by: byron | last post Nov 9 '07 by: Rick Jones
I've downloaded the 64bit gcc compiler since the mysql installed is the 64bit option but now I'm getting the following error #./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/ usr/local/mysql configure:60026: checking for mysql_errno in -lmysqlclient configure:60045: gcc -o conftest -I/usr/local/include -mgnu-ld -...
3
1,215
thread by: trawets | last post Nov 9 '07 by: Jerry Stuckle
Hi I am trying to write something which will enable me to run a php script from cron which will delete news item entries from a mysql db. Criteria here is that the script would look at a field 'publish_down' which has this format '2007-01-29 16:00:08' check this date is passed and then delete if it is more than 90 days older. I have...
1
1,301
Markus
thread by: Markus | last post Nov 9 '07 by: Atli
I'm just intruiged by this one(sending text messages, to phones, from the internet). I see it a fair bit now, and was just wondering how they do it? I'm not asking for codes, just what i might need. i.e. some php function, maybe?
10
2,062
thread by: gater | last post Nov 9 '07 by: Atli
Hello All. I am trying to set up a page that will display the 'picture of month' for each month of a given year. I want 3 columns of thumbs. There may be no images or up to 12 images for any given year. The images are in different directories and their location /filename/extension will be extracted from an array. I am not very familiar with the...
1
1,011
thread by: orfiyus | last post Nov 9 '07 by: Atli
Wuts hood Im supposed to make a php script that parses a file and uploads useful data to a database. Im supposed to use a browse button to naviagate to the directory to find which file I want to select. I just started this so far I have an html page with the browsing menu using a form which then redirects to a php page that will do all the...
2
1,327
thread by: slb813 | last post Nov 9 '07 by: slb813
Hello, I am new to PHP and have created a file that will show a HTML page to ank for a record key, then select the kay from a MS Access database and display it on another form in the same PHP file. This all works great the second form is presented with the information. The problem that I have is the second form is supposed to allow a user...
2
2,580
thread by: ManWithNoName | last post Nov 9 '07 by: ManWithNoName
Yay guys! I hope you all are having a warm fuzzy loveable day. The following questions are kind of related to this thread: Protect files (on web server) from web admin. If one has password protected zip file: 1) where would the content temporary be extracted to (probably the OS designated temp directory, right?)
5
4,408
thread by: eyden | last post Nov 9 '07 by: code green
Phew, I have a problem that is really bugging me. We have a system of naming our partnames which we want to add into a database. Our partnames are composed of 1-7 numbers or letters where each number has a meaning. You can think of it as a multi-dimensional array and I've started to build a database with four tables ...
1
1,276
thread by: pedjasmek | last post Nov 9 '07 by: Atli
I'm using this script to force browser's download dialog : $fp=fopen('Survivor - Eye of tiger.mp3','r'); $name=basename("Survivor - Eye of tiger.mp3"); $size=filesize('Survivor - Eye of tiger.mp3'); header('Content-Type: audio/mpeg'); header('Content-Length:$size'); header("Content-Disposition: attachment;filename= $name");...
0
1,258
thread by: andymconline | last post Nov 9 '07 by: andymconline
Hello all, I have an existing Oracle database application that requires a "simple" front-end (do these things ever turn out to be simple?). There is an existing API written which I would like to reuse if possible. Here is a snippet of the API: TYPE property IS RECORD ( property_key VARCHAR2(8) , property_value VARCHAR2(128) );
0
1,297
thread by: sksksk | last post Nov 9 '07 by: sksksk
Which one is the best php framework? Come and join makefive and make your top 5 php framework. If you know more let me know two. http://www.makefive.com/categories/technology/computing/top-php-frameworks SK

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.