473,537 Members | 2,672 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.
47
3,269
thread by: frizzle | last post Apr 25 '06 by: Jerry Stuckle
Hi, I am at the base of an FTP thingy i'm building, and i noticed that it would only work if i chmod the folder 777, i thought to remember correctly that previously on another site chmod 744 was enough, now it isn't. Am i mistaking, and should it always be 777 ? And isn't a chmodded 777 folder much more vulnerable? Frizzle.
47
32,852
thread by: Emil | last post Apr 10 '06 by: Jerry Stuckle
Is there any hope that new versions of PHP will support macros similar to C or C++? I've searched manual and didn't find anything except define directive, but it can be used to define constant values only. Of course it is not THAT neccessary functionality, but it could be very useful. greetz Emil
47
4,630
thread by: ndedhia1 | last post Mar 3 '09 by: Atli
I have data in a database that looks like this: INSERT INTO ALARMNOTIFICATIONDETAIL VALUES ('1865', '2295', '15401', '1', 'Prodprdcons11InstrumentationMonitor', 'ALL'); INSERT INTO ALARMNOTIFICATIONDETAIL VALUES ('1866', '2296', '15401', '1', 'ProdPRDCONS5InstrumentationMonitor', 'ALL'); INSERT INTO ALARMNOTIFICATIONDETAIL VALUES ('1867',...
46
1,921
thread by: Kentor | last post Feb 16 '07 by: derbz
Hello, could you guys please take a look at 4 logos and choose the one you prefer the most? :) thanks a lot! I really appreciate it. Link is at: http://www.rent-index.com/survey/vote.php
46
2,135
thread by: RAZZ | last post Jul 26 '08 by: Jerry Stuckle
Hello, Can anyone suggest me solution? I Need to manage different types of documents (doc,xls,ppt etc) in server. I have folder structure to maintain these documents in server. Say folder1 is having all doc files; folder2 is having all xls files and so on. Now these documents should not be able to get access through the url
46
4,443
dlite922
thread by: dlite922 | last post May 21 '09 by: Dormilich
I'd like to create a PHP framework based on the latest and newest PHP (5.3RC or 6.0 ) that is upcoming soon. I mentioned this months ago, but now I have the time to persue it, Instead of making it "Dan's Framework", I'd like to make it 'Bytes PHP Framework' with the suggestions of you fine PHP experts. My high-level goals are: 1. Under...
45
16,814
thread by: Market Mutant | last post Jul 17 '05 by: Charlton Wilbur
I just wonder job selections, job openings and salary level of PHP programer or Perl programmer comparing to Java programmers. Is Java programmer's salary has a minimal of 60K in US? Are there many PHP jobs?
45
2,973
thread by: Rocky86 | last post Jul 11 '07 by: Rocky86
Hi brothers I am new here need help with the php programing using sql basically I am given a task to create a php code that is able to query the database on some free hosting web which I alreadx have the database done right now I am trying to query the database and I have no idea how to do it I wanted to find the value between the Latitude top,...
45
3,778
thread by: laredotornado | last post Oct 3 '07 by: Michael Fesser
Hi, I'm using PHP 4.4.4. An odd thing is happening with the mcrypt_encrypt function. I am trying to encrypt a string of data (for password storage): $enc = mcrypt_encrypt(MCRYPT_XTEA, ENCRYPTION_KEY, $p_str, MCRYPT_MODE_ECB, $iv); and then I'm trying to log in later by encrypting the entered password
43
5,048
thread by: steve | last post Jul 17 '05 by: Ian.H
I am quite frustrated with php’s include, as I have spent a ton of time on it already... anyone can tell me why it was designed like this (or something I don’t get)? The path in include is relative NOT to the immediate script that is including it, but is relative to the top-level calling script. In practice, this means that you have to...
43
4,783
thread by: grz02 | last post Jul 17 '05 by: Tim Tyler
Hi, Im an experienced database+software designer and developer, but, unfortunately, anything to do with web-programming and web-systems designs is still a pretty new area to me... (been working mostly with "legacy" environments the last 10 years) So I am writing this, hoping to get some useful advise and feedback... I have done some...
43
3,383
thread by: davidkoree | last post Apr 25 '07 by: Jerry Stuckle
I mean not about cookie. Does it have something to do with operating system or browser plugin? I appreciate any help.
42
3,286
thread by: Matthew Harrison | last post Jul 17 '05 by: Matthew Harrison
I'm looking for a content management system that works. I've tried phpNuke, phpMyWeb and Jetbox so far. I cannot get any of them to even display the admin screens. I have an Apache 2/RH 9/PHP 4/mySQL setup - all tested via a simple test.php script which does what it is meant to do. However - I get nowhere even getting an error displayed...
42
2,579
thread by: John | last post Feb 11 '06 by: Nyfael
Hello. I am a beginner to PHP and I am currently just going through a book, to create a simple form page. Unfortunately it doesn't work, and there is nothing listed on the books errata page on the internet. I wondered if you can just help me with it? It is just a form that you type your name in on the test_form.php page, and then on...
41
1,656
thread by: Andrew | last post Dec 22 '06 by: John Dunlop
The company I work for uses .htm extensions with their php code. There is one page which has quite a few querys that I am having problems with. With the .htm extension it will take 30+ seconds to load the page and, for example, will pull approx 30 rows from the db. If I just change the extension to .php, it takes less than 1 second to load...
41
8,222
thread by: hdf | last post Nov 19 '09 by: mainul05
hi i want to use a dropdown box to populate another dropdownbox and so on but i want to maitain all the data adt was selected from d previoce box and i dnt want to make use of submit button but the dropdown must triger the changes assoon as its value gange can anyone hlp
41
2,826
thread by: Jim | last post Apr 23 '07 by: Steve
Hi guys, I have an object which represents an "item" in a CMS "component" where an "item" in the most basic form just a field, and a "component" is effectively a table. "item" objects can be created and then added to "component" objects to build up the component definition. My dilemma comes in deciding how to read/write data to the...
41
3,185
thread by: amygdala | last post Aug 13 '07 by: amygdala
Hello all, I have posted a similar question in comp.lang.php in the past, but haven't had any response to it then. I kinda swept the problem under the rug since then. But I would really like to resolve this issue once and for all now. The problem might be PHP related but since I only develop applications using PHP, I'm not a hundred...
41
2,270
thread by: Breana | last post Aug 23 '07 by: pbmods
Ok, i am new here and still learning sql, i have made a table called users and inside points default 5. and when they submit the form i use this to update it +5 points. $sql = INSERT INTO 'users' SET 'points'= WHERE 'userid'= '$userid'; $result = mysql_query($sql ,$db); But the value never changes from 5 to 10? Can anyone please help...
41
1,614
thread by: Steve | last post Sep 28 '07 by: Steve
since people have an affinity to paper copies, printing has become an issue with some reports i'm generating. it seems incovenient to the end-users to have to set the orientation to landscape and their margins to 0.25 - which results in a beautiful report. they want a link to download a pdf version that fills all of their needs/wants -...
41
2,777
thread by: Twayne | last post Jun 30 '08 by: Michael Fesser
Hi, How would I go about "forcing" a user from one page to another? I have a very simple random question/answer entrance requirement for an e-mail form. After 3 page views most people are going to have successfully submitted their e-mail (enter/validate as human, enter message, send the message). If someone or something decides to start...
40
2,703
thread by: Visionary | last post Jun 21 '06 by: Bent Stigsen
Greetings, I'm the webmaster/team lead at avlabsdesign.com, and I'm currently on the hunt for a PHP programmer to join the team. I've been spreading myself quite thin lately, and aside from that I enjoy having a good solid team to work with. If you're at all interested, send an email to team@avlabsdesign.com with reference to your skill...
40
3,389
thread by: coool | last post Aug 25 '07 by: coool
Hi guys, How can I send query result to EXCEL in PHP pages? is there such a function in PHP ? any code example !
40
1,908
thread by: Summercool | last post Jan 24 '08 by: Summercool
I wonder in PHP, can you have a function like print_debug($foo); and it will print out: $foo is: 3 that is, it will print out, most importantly, the variable name, as
39
3,190
thread by: windandwaves | last post May 18 '06 by: Bent Stigsen
Hi Folk I have to store up to eight boolean bits of information about an item in my database. e.g. with restaurant drive-through facility yellow windows

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.