473,788 Members | 2,548 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
4,893
thread by: sheenrose | last post Dec 28 '07 by: RedSon
<? $uname = $_REQUEST; $pass = $_REQUEST; /*Connecting, selecting database */ $LogStatus = 0; $link = mysql_connect("localhost","root","kushal") or die();
8
2,505
thread by: The87Boy | last post Dec 28 '07 by: The87Boy
I am trying to make a PHP Cli program, but there is something I do not know what to do If we take an example: php5 test.php --add Hello World I am great --delete World great --sort test.txt I want to have an array with the commands, that look like this: Array ( =Array('Hello', 'World', 'I', 'am', 'great'),
1
1,384
thread by: mukeshrasm | last post Dec 28 '07 by: code green
Hi, When I used readdir() function and echo the file name it prints . and .. as well.Whereas there is no such file with name . or.. , so why it is printing it. What does it mean? And one more thing why we should loop over directory like while(false!==($file=readdir($direname))) why not like this while($filename=readdir($dirname))
8
3,271
thread by: chimambo | last post Dec 28 '07 by: Jerry Stuckle
Hi All, I am trying to pass variables between two frames in PHP. I want to get a variable from F1 to F2 and the variable that is now in F2 should pass back the variable to F1 and call another page. Anyone to help? Thanks X
1
1,550
thread by: sindhu | last post Dec 28 '07 by: Markus
Hello Folks I'.m here to get some help from you people . Please tel me can i have a Master page kind of a page in php? I am not sure whether its called as master page in PHP but i want the effect of a master page in PHP Please some one out there help me'\ thanks
1
1,454
thread by: ehcy | last post Dec 28 '07 by: Markus
hello.. please anyone can help me.. i have here a simple problem.. i have a textbox, i'll put any senteces in textbox.. for example, i'll put this "Hi my name is Ehcy" and the output will be like this... output: Hi my name is Ehcy.. how can i do this please help.. thank everyone..
3
1,049
thread by: The87Boy | last post Dec 28 '07 by: The87Boy
I have some files with urls and the only change between the urls is the id, which stands as an argument but how can I see the id it in the easist way?
1
1,302
pankajkmeena
thread by: pankajkmeena | last post Dec 28 '07 by: gits
is it possible to capture control+alt+<any key> in PHP
2
3,435
thread by: Nicolas Le Gland | last post Dec 28 '07 by: Nicolas Le Gland
Hello everyone here. This is my first post in this newsgroup, I hope I won't be to much off-topic. Feel free to redirect me to any better group. I am getting strange timing issues when failing to asynchronously connect sockets on closed or filtered ports, but I'm quite unsure if this is a PHP issue or my misunderstanding, as it seems...
15
8,727
thread by: Daniel Klein | last post Dec 28 '07 by: Vince Morgan
I'm trying to get popen to work on Windows. Here's a simplified example of what I'm trying to get working: I have a hw.c program as follows: #include <stdio.h> main() { printf ("Hello World!\n");
2
1,701
thread by: Bob Bedford | last post Dec 28 '07 by: shimmyshack
Hi all, The site protection has never been an issue due to the main purpose of my site: it's a community website and has nothing very important, just informations. Now the problem is that hackers don't only put my website regularly offline but the worse thing is that they put spam script on my site and send thousand spams from my account.
1
1,254
thread by: Sandman | last post Dec 28 '07 by: My Pet Programmer
Hello, My platform is Solaris 2.11 on x86, amd64 actually. I'm working with a product that requires 64-bit values be returned as ints. Php 5.2.5 however returns this as a float. Is there some option I can twiddle to change this?? Is it a matter of just casting? It didn't seem to do the job. I can re-build source if necessary I posted to...
0
1,946
thread by: Ryan van Roode | last post Dec 28 '07 by: Ryan van Roode
Hello, Is there a way to use php's ZipArchive and specify No Compression? Something similar to "zip -0" on the command line. Thanks very much. ~rvr
0
1,179
thread by: sskaje | last post Dec 28 '07 by: sskaje
i tried to compile php_imagick on my win box with visual c++ 6.0 but i got these errors when linking: these two symbols can be found in the php5ts.lib, but i dont know what makes them ive already add the php5ts.lib to the link libs then i read the source of php_imagick, and found :
1
1,366
thread by: Gilles Ganault | last post Dec 28 '07 by: Gilles Ganault
Hello I'm trying to localize a small PHP application which uses date() to display a date saved as Epoch in MySQL, but I can't get the month to be displayed in French: ========= //BAD setlocale(LC_ALL, 'fr_FR@euro', 'fr_FR', 'fra_fra'); //BAD setlocale(LC_ALL, 'fra_fra'); //BAD setlocale(LC_ALL, 'french');
2
1,250
thread by: thushianthan15 | last post Dec 28 '07 by: Jerry Stuckle
Hi everyone, I am using Fedora Core, version 6 as my development platform. My problem is if i have to save my PHP files in /var/www/html/, i need to log in as a root. As a normal user, the OS is not allowing me to save the files in /var/www/html directory. Due to some restrictions, i cannot always log in as a root. So is there is any other...
11
1,137
thread by: Lawrence | last post Dec 28 '07 by: Jerry Stuckle
hi all. this is a query in my mind as to will PHP be stable on a windows server unlike lik on a LINUx server.
4
2,077
thread by: Gilles Ganault | last post Dec 28 '07 by: Gilles Ganault
Hello I'd like to find a basic PHP+MySQL contact manager, so that we can keep a list of our customers, and a contact history (ie. whenever they call us for a problem, it'll be in the file). There may be other nice features I should know about, but I don't want any of those enterprise softwares like SugarCRM etc. that are just too...
3
1,499
thread by: Bucky | last post Dec 28 '07 by: Jerry Stuckle
I want to make something where I can schedule future blog posts, and it will automatically publish them to Xanga. I have a web host with Linux, MySQL, PHP, cron, etc. Type up blog post and future date into MySQL. Cron job scheduled every day, check if blog post needs to be published today. If so, somehow log into Xanga and fill out the...
1
1,286
thread by: halamazoo | last post Dec 28 '07 by: Jerry Stuckle
I'm trying to create the necessary framework to allow users to log into my website. I have already created the backend using a MySQL database. The part that I'm hung up on is being able to pass the username from one page to the next. I've been reading about sessions, and I can get them to work if I embed the SID into the URL, but I really...
3
3,339
nomad
thread by: nomad | last post Dec 27 '07 by: helimeef
Hello Everyone: I'm looking for a template or a website that will help me make/build a quiz. The quiz needs the following: 1. T or F, mulit. questions, click and drag answers. 2. Client must register to take the test.also holds all results after taking the test. 3. Client must sign in to take the test 4. Quiz gives final score and a pass or...
4
1,321
thread by: samit | last post Dec 27 '07 by: helimeef
I keen to persue coding like yahoo piping system which will include drag and drop and piping features
2
3,020
thread by: valvetty | last post Dec 27 '07 by: valvetty
I got a youtube.com clone PHP &MySql script I wanna know how I can install it to the remote hosting webserver.
5
1,418
thread by: deepaks85 | last post Dec 27 '07 by: Markus
Dear Friends, I am looking to create a content management system for my website....I thing it can be done in two ways: one method is by creating mysql database and another method is by file object method (i.e. update your data with read and write file)......Please suggest me which would be the best way..... Thanks Deepak
1
1,184
thread by: phpmel | last post Dec 27 '07 by: Markus
Hi guys, I wanted a text box that keeps track of the current time in the format 09:23AM etc I know I have to use time() function but that would only give you the current time when the page was loaded. I wanted to know if there was a way to get the text box to change the time when the time changes every minute.

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.