473,768 Members | 3,985 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.
7
1,242
thread by: Andy2500 | last post Nov 16 '07 by: Andy2500
.....
14
1,667
thread by: Rob Wilkerson | last post Nov 16 '07 by: Radek N.
Hey all - Not being a seasoned PHP developer, tonight I started playing with the use of the Singleton pattern to store configuration information. What I was surprised to find was that the instance - at least the one I'm creating - isn't really a singleton. With each request, the constructor is called. Isn't that very much *not* a...
4
1,338
thread by: anbumozhip | last post Nov 16 '07 by: vijcbe
hi all, I'm a newbie to php,Could anyone has the idea how to write a php script to search the database for a better and fast search providing many options. Regards Anbumozhi
2
8,066
thread by: RuthC | last post Nov 16 '07 by: RuthC
I am trying to pass a smarty array to a javascript function what is he easiest way to pass the values? I tried these code but not working. Please help me where iam wrong. <?php $url_names = array(); $sql = "SELECT `page_url` FROM ".TABLE_USER_PAGES." "; $result = $uk->tep_mysql_query($sql); while($rec_url = mysql_fetch_row($result)){
2
7,322
thread by: laredotornado | last post Nov 16 '07 by: laredotornado
Hi, Does anyone know of or is using an API for calculating shippiing rates with DHL? The only one I found on Google (http://www.phpclasses.org/ browse/package/2922.html) gives me a bunch of warnings when I run the test, and so I question its validity. Thanks, - Dave
6
2,547
thread by: DT | last post Nov 16 '07 by: Sanders Kaufman
Hello, I'm writing php extension to read php.ini settings from independent location, particularly some object or relational database, or, sleepycat db. PHP ini development concept seems pretty straightforward to me, anyway I can't figure out how to make a php.ini setting to be "admin value", e.g. not changeable with ini_set() function...
6
1,448
thread by: sketh | last post Nov 16 '07 by: Atli
I would like to know what is the code(script) to move threads in forum For example, I have a thread that is posted in the wrong topic. I would like to move it to the correct topic but i don't have the function for it. Can anyone teach me? Thank you!
25
4,145
thread by: Gilles Ganault | last post Nov 15 '07 by: Steve
Hello I've been googling for a couple of hours, but still haven't found what I need: - really simple PHP-based image gallery software. Ideally, just a single file that I just drop into a directory filled with JPG files - uses eg. GD to generate thumbnails automagically, and saves them into a sub-directory for the next time (I don't want...
0
1,029
thread by: Scott93727 | last post Nov 15 '07 by: Scott93727
KaleidoscopePro Ver. 2.0 KaleidoscopePro Professional Kaleidoscope Freeze, Resume, Capture and Save any Image Generated, 10 Speeds / 10 Complexities, Runs at any screen resolution, (Controllable from App.), 10 Screen clear timing intervals, and 10 rapid Display timing intervals, plus any background color. Generates beautiful full screen very...
4
2,041
thread by: Pseudonyme | last post Nov 15 '07 by: Pseudonyme
A Paris Le 14 Nv MMVII Dear Madam and Sir, Do you know how to access a MYSQL DB from an external server ? We read the information and studied :
6
1,344
thread by: Shelly | last post Nov 15 '07 by: Shelly
I found the mysql group on google and posted a question (which I'll attach below). On thinking about it, it might be a php problem after all. I can see the data properly via phpMyAdmin (an apostrophe is an apostrophe). However, on looking at the retrieved results in php, the apostrophe takes on an odd three character sequence. Also, in...
3
1,584
thread by: Jumaro | last post Nov 15 '07 by: Jumaro
My server runs PHP 4.3 and I'm having a problem where when I try to to submit a long string, about 3500+ characters in length, using the post method, the $_POST array node that is supposed to hold that string is dropped for some reason. I don't get any error messages and other $_POST elements return successfully. I checked my post_max_size and...
1
1,962
thread by: suresh_nsnguys | last post Nov 15 '07 by: mwasif
Hi, I am new to this Web dowmain.I am little bit confused with this functionality.I am looking forward some sugggesstion from you. Issue: Users allowed to create Ads in my application for displaying in Digital Signage Screen by Settting Start Date/Start Time and End Date/End Time. Based on Start/End date and time ,the particular...
4
5,391
thread by: mtuller | last post Nov 15 '07 by: mtuller
I want to pull part of the URI out to dictate what is pulled from the database. For example, I want to control what year data is displayed with a url like this: http://www.mysite.com/display.php?year=2007 I want to pull out the 2007. I can grab the uri, but what is the best way to pull out just the 2007?
9
5,584
thread by: lilbit02 | last post Nov 15 '07 by: lilbit02
Can someone please help me with this. I have gone to forum after forum and read books and just have no idea how to do this. I need to send a server response in PHP. I'm attempting to do with CURL. I might be making this harder than need be because I over think things and then I get myself all confused. This is the scenario...I have vendors...
16
2,110
thread by: Alex | last post Nov 15 '07 by: Steve
Hello, I'm trying to use a (remote) COM object from a PHP script (4.4, server has apache2 win32). The basics seem to work : I instantiate the COM object ($o = new COM"..."), then I use two of the objects methods to authenticate. In the meantime a property called "ProjectConnected", passes from 0 to 1. So I think the object is correctly...
30
2,838
thread by: Einstein30000 | last post Nov 15 '07 by: AnrDaemon
Hi, in one of my php-scripts is the following query (with an already open db-connection): $q = "INSERT INTO main (name, img, descr, from, size, format, cat, host, link, date) VALUES ('$name', '$img', '$descr', '$user', '$size', '$format', '$cat', '$host', '$link', '$date')" or die(mysql_error()); And when the query gets executed i get...
1
1,270
thread by: chowdary | last post Nov 15 '07 by: Jerry Stuckle
hi, iam using frames in my website, there are 2 frames in site. when sessions are expired the login page is displaying in the main frame, but the other frame as it is in above. why the above frame is not disappearing? is it means sessions are not expired in the above frame????? please help me that the login page has to be displayed in a...
2
2,042
thread by: atanu4833 | last post Nov 15 '07 by: mwasif
Hello, I want to retrieve record from mysql database for a php web page with two or more where condition i.e select * from branch where branch_status='1' select * from branch whre branch_status='2' (I need Total no of branches, status 1 br. and status 2 br. in the same row)
3
2,247
thread by: skulkrinbait | last post Nov 15 '07 by: skulkrinbait
I've a HTML form that allows a user to specify the location to upload a file from: <p><label for = 'file'>Upload Graphics : <input type='file' name='imagefile' /></label></p> I then want to check if the user entered something or not as this isn't mandatory. Here's an excerpt of the relavent code: if (isset($_POST))
1
912
thread by: robin1983 | last post Nov 15 '07 by: mwasif
hi everyone, i just have a simple question, is it possible to store the .doc file in a database. (my-sql). thanks
3
1,308
thread by: chowdary | last post Nov 15 '07 by: chowdary
hi, I am using frames in my website,main application links are present on the top of page above mainframe, in main window. These links have target=mainframe, thus opening respective pages in mainframe. I have put the session timeout period on each page so if some user remains inactive for 10 minutes, he will be redirected to logout.php...
4
1,157
thread by: apking | last post Nov 15 '07 by: ak1dnar
Hi friends iam storing paths in database.and it have some ID.These IDs how to use in website.any one can tell me asap regards apking
5
1,125
thread by: AK | last post Nov 15 '07 by: Lars Eighner
Hi, Can anyone tell me how to connect to a URL using PHP for the purpose of obtaining the HTTP response code? Specifically, I want to be able to ascertain whether a link is down (404) or alive. A bare-bones example would be appreciated. Thanks!
0
3,777
thread by: Sam | last post Nov 15 '07 by: Sam
Have been trying to do this in flexy for a while, but it does not seem to support it. I have an array of categories of which each contains an array of things. So I'd like the template to look like this. {foreach:categories,category} {foreach:category,thing} <htmltags>{thing->someField}</htmltags>... {end:} {end:} Now it seems that flexy...

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.