473,544 Members | 1,785 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.
4
7,797
thread by: Chris Stegeman | last post Oct 21 '05 by: ijsaunders
Hello there, On my site people have to log in and automatically start a session. An authorized login grants access to other pages and MySQL data. However when the user waits to long, the server ends the session, without a proper logout. The user can't see that he is logged out, hits a button and gets mutiple errors because MySQL is no...
4
9,866
thread by: gayle | last post Oct 21 '05 by: Ian B
Hello php group, I have just joined. My usual group is sitemaps and a dozen other forums, but nobody seems to be able to come up with exactly the advice I am after. I just know there has to be a simple answer. I have a script that calculates everything nicely and feeds the data into my database after first showing the result on the screen etc...
3
1,905
thread by: mirko | last post Oct 21 '05 by: mirko
Hello, I have a problem with my include_path and I don't know why... Can anybody see the mistake? my configuration: PHP Version 4.3.11 System: Windows NT 5.0 build 2195
2
1,268
thread by: Raj | last post Oct 21 '05 by: Tim Roberts
Hi, If I enter in a browser http://localhost/~raj/fdd/start.php?s=tfdd The folllowing script outputs 9tfdd99
10
1,368
thread by: Simon | last post Oct 21 '05 by: Tim Roberts
Hi, If I have a lot of articles, all with a unique IDs. First I would like to search for that ID, I could do SELECT * from ARTICLE where ID = xx But I also want to display the 5 articles before and after that article.
2
1,656
thread by: Scott | last post Oct 21 '05 by: Scott
hi friend's, i m new in both things php and in this group. but i have some basic knowledge of php and DOM in php. here is my problem, i have one textfield for add a new main node (not main like: <root><this_one></this_one></root>) in my php page and i m able to save the xml file correct with this, and in the bottom of that i have one new...
3
2,884
thread by: theboss3 | last post Oct 21 '05 by: kevyank
Take, for example a typical RSS 2.0 feed (like http://lorelle.wordpress.com/feed/) and tell me how I access the tags like 'content:encoded' and 'wfw:commentRSS' using SimpleXML. I've searched far and wide for a solution but can't find one. Thank you very much.
1
2,823
thread by: Robizzle | last post Oct 21 '05 by: Juliette
I'm writting a script that produces html source code from form input. My problem is that I want to format my html source with new lines and tabs. So, I have a string that holds all the contents of the source and my php script displays it by saying echo '<form><textarea>'.$sourcestring.'</textarea></html>'; All of that is working...
3
1,530
thread by: Gerard | last post Oct 21 '05 by: Mike Willbanks
Hi All, I need some help in developing a user hierarchy for a script that i'm developing. I'm developing an eTimeCard where i only want the ground user to make edit's to his/her card. Therefore i just need an idea of how to implement that superior user idea. Rgds, Gerard
6
1,829
thread by: Roger | last post Oct 21 '05 by: Mike Willbanks
......ie in my application! Basically I want to add a scripting language to a cross platform application. The prime requirements are that it is: a) Small b) May be easily staticlly compiled into the app and require nothing more than libc and sockets. c) It must be easy to add new functions in C to hook into the app. d) Reasonably easy...
1
1,387
thread by: Borf | last post Oct 21 '05 by: Mike Willbanks
I would like to create a client login form for an small advertising company. What I need it to do is this, 1. The client logs into the website. 2. The client would see his job images. 3. he then could aprove it or send a comment back to the designer. My question is,
8
1,649
thread by: Maddman75 | last post Oct 20 '05 by: Gordon Burditt
I'm having trouble getting PHP installed on my system. I downloaded the zip file and extracted the files to C:\php. Following the documentation, I did the following - added C:\php to my PATH - added the following lines to the httpd.conf file for Apache # Adding module references for PHP LoadModule php5_module "c:/php/php5apache2.dll"...
1
10,166
thread by: Ian Davies | last post Oct 20 '05 by: HawkEye
Hello In a php file I have a drop down list with index numbers in whos default value is feed into an sql query that filters records from my database and displays them in an html table. Trouble is this happens as soon as the php is run so bringing up the same records filtered from the default index. Also when I select a new index no from the...
3
1,111
thread by: weberjacob | last post Oct 20 '05 by: Colin McKinnon
I'm using PHP in command-line mode. I would like to run an external command, and have it interact with the user just as if he had ran it from a shell. (I don't need my script to send input to the command). Ideally I would also like to capture the STDOUT into a variable, although this is not a requirement. None of the PHP program-execution...
1
1,443
thread by: Dave | last post Oct 20 '05 by: Justin Koivisto
Hello, I'm using php4 and i want to check for a file, if it doesn't exist it should be created. My problem is i have to create it with specific permissions specifically 666 so that the script can then write to it. I don't have ftp access. I'm also looking for any tutorials, recent ones, using php4 for creating file upload areas, i'm trying to...
1
2,024
thread by: needin4mation | last post Oct 20 '05 by: Michael Vilain
I can only get it to work with anonymous access and everything else in IIS under directory security turned off. I have searched but cannot find an answer. Thank you for any help.
2
1,255
thread by: ninadk | last post Oct 20 '05 by: Raqueeb Hassan
i am using win2k and my php.ini is located in winnt folder but i don't want php.ini file at that place due to security reasons. please tell me how do i change the php.ini path.
12
10,803
thread by: VS | last post Oct 20 '05 by: Samuel
Hi, I'm new to PHP, I'm having trouble finding a way to replace a '_' in a string with a space. i.e using 'eregi_replace' I want to change 'United_Kingdom' to 'United Kingdom'
6
1,309
thread by: Python | last post Oct 20 '05 by: Justin Koivisto
Hi I need to know how to keep instance of class. For example. I created object: $myObj = new Person(); ok, and then someone wants to go to the links page, and I want to keep data which are created in myObj, for exmaple $myObj->age; $myObj->name; etc. etc.
2
8,337
thread by: eSc | last post Oct 20 '05 by: eSc
I am trying to connect to Sage Line 50 data files through odbc driver (SageLine50v8) from php5 (running on windows xp pro) by odbc_connect(). Unfortunately I can not find right connection string and I get back an error: "SQL error: Cannot find all files in data path, SQL state 08001 in SQLConnect" This is what I am trying to do now: ...
2
1,394
thread by: webvand | last post Oct 20 '05 by: webvand
There's a website under construction (UC), I want to build UC page with an email input box for inviting people on the unveiling time. Witch phrase you'd prefer for its caption? something professional and cool
2
1,531
thread by: thamood | last post Oct 20 '05 by: thamood
Hi guys ... i know you can access an MS-Access db with ODBC but is there a way that i can import tables directly from access with out using ODBC...e.x "if i'm using an MySQL DB is there is a way to import data from a *.mdb((Access file)) table?" thanx in advance
2
6,313
thread by: Bloke Smith | last post Oct 20 '05 by: Bloke Smith
I have written a class (and it works!). Now I want to tidy the code a bit by separating some subroutines and I get a "Fatal error: Call to undefined function:" e.g. class Fred{ function Fred(){ //constructor do_this();
3
1,380
thread by: Raj | last post Oct 20 '05 by: David Haynes
Hi, The following script outputs 12345. It should go to intro_page.php after the 4 session variables have been populated. Can you see what I'm doing wrong? Many thanks, Raj (newbie)
3
1,601
thread by: Sergej Andrejev | last post Oct 19 '05 by: Geoff Berrow
Not long ago I was asked to give PHP lections to some private IT school. I'm on second lection now, and will be teaching my :) students conditional statements (if..else and switch) and loops (while and for). That was my story, now the question. Can you give me an advise on some geeky use of those statements to stir up some enthusiasm in...

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.