Forum: PHP 32 Days Ago |
| Replies: 5 Views: 4,513 |
Forum: PHP Jul 29th, 2009 |
| Replies: 12 Views: 558 Hey,
On the subject of development environments. I'm sure the Zend IDE is a good suggestion, however I too use Dreamweaver but just in Source view mode. I also have an Apache server running... |
Forum: PHP Jul 27th, 2009 |
| Replies: 12 Views: 558 Please use the CODE tags, found here http://www.daniweb.com/forums/misc-explaincode.html?TB_iframe=true&height=400&width=680
It will help us examine your code.
<?php
/* Program: mysql_up.php... |
Forum: PHP Mar 3rd, 2009 |
| Replies: 2 Views: 228 I made a similar page that gathered prices from different book vendors based on ISBN-AEN numbers. I created a vendor-specific RegEx to retrieve the price values after looking up the book page via... |
Forum: PHP Sep 13th, 2008 |
| Replies: 6 Views: 798 Glad it worked.
The fun thing about making fields required is that you probably want to check them on the client (web browser) before submitting the form -- it's easier for the visitor to change... |
Forum: PHP Sep 12th, 2008 |
| Replies: 35 Views: 2,697 Here's one possible model you might employ ...
1. Visitor arrives at your site
2. Test for existing cookie
2a. if so => PASS
2b. if not => next step
3. Require user login
3a. new user... |
Forum: PHP Sep 12th, 2008 |
| Replies: 35 Views: 2,697 Honestly, I do think this would increase failed login attempts ... you would be surprised, there are lots of bad typists out there and also people just in a hurry to plow through stuff like login... |
Forum: PHP Sep 10th, 2008 |
| Replies: 12 Views: 1,766 Hi,
For debugging purposes I would do something like what Anthony is suggesting.
I would locate an image in the images directory, say G493075_101_12.jpg, and find it's database ID ... then in a... |
Forum: PHP Sep 10th, 2008 |
| Replies: 6 Views: 1,701 I did not write the PHP Virus scan, that would be this guy: chaom79
I'm just trying to help if I can, but would be very interested in how well it works and what kind of virus activity it detects... |
Forum: PHP Sep 10th, 2008 |
| Replies: 35 Views: 2,697 Yes I did test the main block after I wrote it, but not in a production environment, so I can not guarantee this in any way without further testing and you will have to rely on your own judgment if... |
Forum: PHP Sep 9th, 2008 |
| Replies: 31 Views: 4,207 When I decided to teach myself Java, I took a good look at it and changed my mind ...
To paraphrase a familiar line -- "I'm a designer not a coder baby."
Anyway
1. If your site is built on top... |
Forum: PHP Sep 9th, 2008 |
| Replies: 3 Views: 3,586 If I understand correctly ...
1. You want to load the page with the form
2. When someone selects an item in Box A
3. Box B is populated with values based on Box A's selected item
4. And not... |
Forum: PHP Sep 9th, 2008 |
| Replies: 1 Views: 385 Could you be a little more specific with what you are trying to do ... there are too many options that you might be referring to with your above question.
Thanks |
Forum: PHP Sep 9th, 2008 |
| Replies: 6 Views: 1,701 Hi,
In PHP if you want to delete a file you can use the unlink function.
$file = 'path_to/test_file.txt';
unlink( $file );
Of course there might be permission issues with certain system... |
Forum: PHP Sep 9th, 2008 |
| Replies: 31 Views: 4,207 That could be done -- I think -- and it might give the SEO benefits you're looking for too with Google indexing Flash content.... |
Forum: PHP Sep 8th, 2008 |
| Replies: 6 Views: 2,649 Hi,
Yes you can upload images with PHP, move them, rename them, resize-scale-crop-background fill them and all that ...
If your website loads large images on the page and scales them smaller... |
Forum: PHP Sep 8th, 2008 |
| Replies: 4 Views: 2,775 Yes, I know, the link I gave you is primarily for writing rss feeds -- if I understand that thread correctly -- there is also a bonus-link later in that same thread for reading them too.
But since... |
Forum: PHP Sep 8th, 2008 |
| Replies: 6 Views: 798 Hi,
Getting the email address to the mail function is pretty easy if the user enters their email with the form information.
main_form.html
<form action="form_script.php" method="POST">
... |
Forum: PHP Sep 8th, 2008 |
| Replies: 6 Views: 798 Great,
Create a database table for users with a field for if they've gone through the confidentiality page.
http://dev.mysql.com/doc/
Use sessions and or cookies so logged in users can skip... |
Forum: PHP Sep 8th, 2008 |
| Replies: 3 Views: 2,173 I don't know what you mean by 'I get a cross', I usually get a ton of binary data written out to the screen when I try what you're doing and since I have had no luck writing the image header before... |
Forum: PHP Sep 8th, 2008 |
| Replies: 1 Views: 569 Sometimes it's challenging to not mix up your html tags and php code, but as much as you can manage them as separate logical pieces, the easier it is to make it all work ... in my opinion.
... |
Forum: PHP Sep 8th, 2008 |
| Replies: 4 Views: 2,775 Hello, I don't know from personal experience but did run across a different thread that pointed me at this keen little PHP utility for RSS feeding ... there's also a link in one of the posts down the... |
Forum: PHP Sep 8th, 2008 |
| Replies: 8 Views: 1,847 I cannot reproduce your situation in either IE7 or FF3 -- here is the last of several ways I tried
Calling page code:
<?php
header( 'Location: test.php?junk=ford' );
?>
test.php |
Forum: PHP Sep 8th, 2008 |
| Replies: 3 Views: 528 I don't know of any free ebooks on learning PHP, did you try Google? |
Forum: PHP Sep 8th, 2008 |
| Replies: 1 Views: 375 I honestly don't want to dig through 216 lines of code to try and understand what you are trying to do with this line of code here
$result = mysql_query(sprintf("%s; select... |
Forum: PHP Sep 8th, 2008 |
| Replies: 2 Views: 920 Did you copy the table structure or copy the table and all of its records too?
Because if you copied the records, you are not going to get a new key-sequence with existing records.
Copy the... |
Forum: PHP Sep 8th, 2008 |
| Replies: 3 Views: 894 I would say that kkeith has got the answer here...look at what the browser is seeing
<?php
$var1 = array('this' => 'that');
?>
<...>
Looks like a tag to a browser ... even though it... |
Forum: PHP Sep 7th, 2008 |
| Replies: 31 Views: 4,207 Back again, sorry it took me so long to respond but I've been very occupied with many other things lately.
In light of not being able to go with digital-ether's suggestion... |
Forum: PHP Sep 7th, 2008 |
| Replies: 6 Views: 1,026 Just so you know, I started website design around 10 years ago with a strong interest in the design aspect ... when I started coding it was to be able to do cool stuff in Flash ... the programming... |
Forum: PHP Sep 7th, 2008 |
| Replies: 1 Views: 398 Hi,
I don't have personal experience with Win 2003 Server (I have it but never got around to installing it), but it looks like maybe this is the solution to the problem you are having --... |
Forum: PHP Sep 5th, 2008 |
| Replies: 31 Views: 4,207 I was thinking either using an iframe or calling the php script dynamically with javascript DOM to dynamically write a js-include tag ...
<script type="text/javascript... |
Forum: PHP Sep 5th, 2008 |
| Replies: 31 Views: 4,207 Brilliant idea -- and I really like that you are always thinking about security concerns too, but maybe I"m just paranoid.
Some cool ideas bouncing around this thread tonight. |
Forum: PHP Sep 5th, 2008 |
| Replies: 31 Views: 4,207 Hi again,
I would be happy to try and help, but I should probably be talking to your web developer so he/she will have a head start on knowing what I'm talking about ...
Let me know if I can... |
Forum: PHP Sep 5th, 2008 |
| Replies: 31 Views: 4,207 OMG, I hate java with a live passion, but I think cwarn might be right here ... it makes sense really.
To answer your question above, I know I could use JavaScript to talk to PHP on a different... |
Forum: PHP Sep 5th, 2008 |
| Replies: 2 Views: 578 You might try using this at the very top of you page ...
and including the results of this in your title ...
or passing additional values along with your $_GET['act'] value ...
<?php
$act =... |
Forum: PHP Sep 5th, 2008 |
| Replies: 1 Views: 760 Hi
Regular expressions are tricky and can be very picky. If you have different input structures than the ones you provided, I cannot guarantee it to work with those other structures.
Hope it... |
Forum: PHP Sep 5th, 2008 |
| Replies: 1 Views: 997 I might suggest using some code formatting and maybe even an editor with syntax highlighting ... if this is the real script, it looks like maybe you missed actually closing your while loops ...
... |
Forum: PHP Sep 5th, 2008 |
| Replies: 31 Views: 4,207 You might find it difficult locating a script if you have no server-side technologies you can use for it. I noticed ProStores does not support any server-side technologies, including MySQL -- where... |
Forum: PHP Sep 4th, 2008 |
| Replies: 2 Views: 332 Hi,
I can not help you with anything specific to Microsoft Visual Web Developer ... sorry. But Andrew Hucks has the right idea here.
The question is, where are the images and how are you... |
Forum: PHP Sep 4th, 2008 |
| Replies: 5 Views: 4,513 Okay, let's assume you have all of your other fields with your file upload field in one form. This way you only need to manage one mysql query and not juggle two form uploads worth of data. If this... |