473,538 Members | 10,904 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Latest Bytes Forum

Support forums for various IT topics. Programming languages, databases, systems, applications and more. Subscribe to a community, participate, ask, share your expertise and network.
 
1
2,783
thread by: Reed Law | last post Jul 16 '05 by: Reed Law
I have the exact same data in two arrays, but only the array created like so will work: $spaw_imglibs = array( array( 'value' => '/youth/pics/Member pics/', 'text' => 'Member pics', ), array( 'value' => '/youth/pics/Group pictures/',
0
1,673
thread by: svend | last post Jul 16 '05 by: svend
Hey everyone, this is my first messege to this group, so I hope it's fitting. I've been messing with time alot recently, particularly time formatting. During that, I've observed, that when getting a date in RFC 822 format (like: Thu, 21 Dec 2000 16:01:07 +0200), sometimes, the timezone offset will differ. Sometimes, PHP will use +0100...
0
2,401
thread by: david | last post Jul 16 '05 by: david
Sorry, I used ftp_rawlist, not ftp_list. > I used ftp_list and ftp_nlist. Both of them worked when the target is Sun > or Linux machine. However, it didn't work when the destination is VXWorks > (embedded platform). The version of php I am using is 4.3.2. According to > my search on google that problems for ftp_list and ftp_nlist for...
4
4,942
thread by: entoone | last post Jul 16 '05 by: Ian.H [dS]
The following outputs a filed for the users website, I'm looking for a way to hyperlink the output so if someone clicks on the link, it will open their site in new window. Also if the text that is hyperlinked is their actual url that would be awesome. Thanks in advance. I have been looking all night for examples and have not nothing that's...
4
1,988
thread by: David | last post Jul 16 '05 by: David
Hi, I have been playing with PHP for a few months now and have written an application that we are using at work for Garment Order Processing. The app works and does just about all we want it to do which is great. The trouble is its all been done in isolation. I could do with some harsh but constuctive opinions on it so that I can make it...
2
2,375
thread by: entoone | last post Jul 16 '05 by: Andy Hassall
I have a field called pword, whenever someone enters anything but numeric, i.e. mixed alpha with numeric, or even just alpha.. the following error appears. Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource What do I need to change the field to, to be able to have whatever password configuration the user...
3
4,969
thread by: Randell D. | last post Jul 16 '05 by: Andy Hassall
Folks, I'm using Apache/1.3.28 (SuSE 7.1, kernal 2.4) with PHP/4.3.2. I have the following code to help cleanse form data. function cleanData($sourceData, &$cleanData) { foreach($myData as $fieldName=>$fieldValue) { if(strlen($fieldValue)>0) { $cleanData=htmlentities(trim($fieldValue)); } else { $cleanData=""; }
2
5,540
thread by: sky2070 | last post Jul 16 '05 by: Matthias Esken
#register variable session_register("product1"); session_register("product2"); $product1="Palm pilot"; $product2="Power mac 5"; #print variable from another page print "Your chosen products are:\n\n"; print "<ul><li>$product1\n<li>$product2\n</ul>\n";
1
2,441
thread by: Frank Passek | last post Jul 16 '05 by: André Nęss
Hi all, to handle a collection of data, I could use an associative array or a class. Provided I don't need any of the functionalities classes offer, i.e. use it as a struct, what is the better option in terms of speed? Cheers Frank
3
2,329
thread by: Chris Dean | last post Jul 16 '05 by: lawrence
this is really a mysql question rather than php but as the two are used togeter closely I hope someone will be able to advise me basically I am wondering how the addition of many large text field to a database effect it's speed (file size isn't a problem) for example i want to make my site database driven so am using mysql but some pages...
0
1,609
thread by: Peivasteh | last post Jul 16 '05 by: Peivasteh
Hi all Anybody knows how to prevent my SWF file to not be cashed by PHP. Any help or idea greatly will be appreciated. Thanks in advanced Behzad Peivasteh
7
3,035
thread by: Gemini | last post Jul 16 '05 by: Jochen Buennagel
Hello I am looking for the best content/article manager software, perferred open source, php, mysql backend.. can anyone recommend me one? I think that the best discussion is phpbb, the best e-commerce is oscommerce, what is the best article manager?
1
4,013
thread by: Bartosz Wegrzyn | last post Jul 16 '05 by: Randell D.
HI THERE I have created a form that I use to fill with the customer and workorder information. Depends on what button I press I can add delete change or print the customer information. My script is called process.php Then depends on the action scripts call another php script. Then it checks if customer exist ot not. If exist it goes to...
2
1,873
thread by: Nikolai Onken | last post Jul 16 '05 by: matty
Hey, I got a rather more mathematical Problem but have no idea how to solve it: I have following values and want them to return other values as stated below: (Best seen with fixed pitch font) 3/8 = 1/4 -- 5/8 -
2
4,504
thread by: Jim | last post Jul 16 '05 by: Jim
I'm having huge problems with a web server not putting the uploaded file in the /tmp here is my code can some one please point me in the right direction?I'm thinking i've done something with wrong with apache but can't find out what. ---- up.html ---- <HTML><BODY> <FORM method="POST" enctype="multipart/form-data" action="./up.php">
2
5,603
thread by: Paris_Sucks | last post Jul 16 '05 by: Paris_Sucks
I'm trying to redirect when testing for certain condidtions as shown below. When the conditions are ture, it redirects, but still goes ahead and processes the sql query. What am I doing wrong??? And then sometimes when the conditions are correct, it doens't redirect. It appears to be very inconsistent. Any suggestions would be greatly...
1
1,778
thread by: Ralph Freshour | last post Jul 16 '05 by: John Smith
I've been reading the 'security' links at the bottom of some web sites - they talk about usernames and especially passwords being sent securing over the internet. These are sites that us http and not https as I view them - are they talking about another form of secure transmission (other than https) or do they mean when passwords are sent...
3
3,344
thread by: Ralph Freshour | last post Jul 16 '05 by: Ralph Freshour
I wrote a small .php script that creates a cookie on my local PC - I also wrote one that deletes it. My question is this: when the cookie has been created and I run the delete .php script, when it first loads it does not delete the cookie - I always have to click on the browser refresh button - why doesn't the script execute on the first...
1
9,960
thread by: BT | last post Jul 16 '05 by: John Smith
Hi .. a newbie question. I get the following error: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/index.php on line 3. I have the following RPMS installed on RH7.2 MySQL-client-4.0.14-0 I would really appreciate it. MySQL-shared-4.0.14-0 MySQL-server-4.0.14-0 MySQL-devel-4.0.14-0
3
5,959
thread by: Ralph Freshour | last post Jul 16 '05 by: Andy Hassall
The following 3 mysql/php statements are used in my home page to access my admin table: $php_linkID = mysql_pconnect("localhost","user","pw"); mysql_select_db("test_db",$php_linkID); $php_resultID = mysql_query("SELECT * FROM admin", $php_linkID); On another web page I try to use another table in the same database but I get an error on...
1
816
thread by: yawnmoth | last post Jul 16 '05 by: Senator Jay Billington Bulworth
i know that system commands can be run using the system("command") function, but... some commands, such as mysqldump, require additional input - input that can't be entered through the command line... (atleast i don't think the password can be entered through the command line with mysqldump - i could be wrong...) also, is there a way i...
1
3,235
thread by: Wm | last post Jul 16 '05 by: David
I just imported a CSV file into mySQL using PHPmyAdmin. With deletions, etc., the numbering is now very "intermittent" on the key field. Is there a way for me to delete all existing autonum key values and renumber them sequentially? Thanx, Wm
2
11,754
thread by: Phil Powell | last post Jul 16 '05 by: matty
$fbArray = array($feedbackCategoryArray => $feedbackCategoryArray); I can't begin to fathom in my befuddled mind how to sort this array $fbArray into alphabetical order according to $feedbackCategoryArray - I am utterly lost, can someone explain in detail how I would do it and why. Thanx Phil
2
6,792
thread by: Kai | last post Jul 16 '05 by: Patrick Lioi
After submitting a form, I would like to redirect to another page. In ASP you can do : response.redirect "filename.asp", but what about PHP?
0
2,947
thread by: BT | last post Jul 16 '05 by: BT
Hi, I am trying to install php-mysql-4.0.6-7.i386.rpm(to get php to work with mysql as suggested for my earlier error). I get the following error for rpm -i php-mysql-4.0.6-7.i386.rpm. Error failed dependecies : libmysqlclient.so.10 is needed is needed by php-mysql-4.0.6-7.

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.