Search Results

Showing results 1 to 40 of 94
Search took 0.01 seconds.
Search: Posts Made By: designingamy
Forum: PHP Jun 9th, 2009
Replies: 5
Views: 338
Posted By designingamy
Yes, you're right :) Thank you so much for your help :)
Forum: PHP Jun 9th, 2009
Replies: 5
Views: 338
Posted By designingamy
Thank you for your response.

The image is in a separate place and I know how to pull the image out as well as the info out of the database. But what I'm asking is can I take the info out and put...
Forum: PHP Jun 8th, 2009
Replies: 5
Views: 338
Posted By designingamy
I really need someone to point me in the right direction. I am building a page where a person can choose what border they want to go around their business information. Once they choose it, the...
Forum: PHP Feb 18th, 2009
Replies: 3
Views: 583
Posted By designingamy
I see...I ended up running this query

$result=mysql_query($sql);
if (!$result) {
echo "Could not successfully run query from DB: " . mysql_error();
exit;
}

if...
Forum: PHP Feb 18th, 2009
Replies: 3
Views: 583
Posted By designingamy
Hello all!
I was having a hard time trying to get my pagination to work. Now the following code throws up this error:

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result...
Forum: PHP Feb 13th, 2009
Replies: 4
Views: 389
Posted By designingamy
Oops, I mean preg_replace(). Sorry!
Forum: PHP Feb 13th, 2009
Replies: 4
Views: 389
Posted By designingamy
Thanks so much! I haven't looked into preg_match that much, so I'll definitely hit some google tonight :) Thanks for advice.
Forum: PHP Feb 13th, 2009
Replies: 4
Views: 389
Posted By designingamy
Hello all!

Sorry in advance if this seem like a really dumb question.

I have one page where a client posts their personal info. One way I check the post is to use htmlspecialchars and then...
Forum: PHP Dec 31st, 2008
Replies: 13
Views: 704
Posted By designingamy
Again, here's that part it:

<?php
session_start();

include ("databaseinfo.inc");

mysql_connect ($host, $user, $password, $database) or die
("No Connection");
Forum: PHP Dec 31st, 2008
Replies: 13
Views: 704
Posted By designingamy
Okay, I think I got it figured out. The directory I was uploading to was protected so I got that fixed. However, the problem I have now is that my code only accepts .gif pictures. Why would that...
Forum: PHP Dec 30th, 2008
Replies: 13
Views: 704
Posted By designingamy
I realize the ownership (user and group) are both www-data. I have been googling this trying to figure out why it's not working, if there is something I can do, but I'm coming up short. Anyone know...
Forum: PHP Dec 30th, 2008
Replies: 13
Views: 704
Posted By designingamy
Okay, here is what I'm thinking...when I upload the picture it goes into the correct directory. But when I try to pull it out, it won't let me. So I added this to my php code:

chmod...
Forum: PHP Dec 30th, 2008
Replies: 13
Views: 704
Posted By designingamy
Am I supposed to include some sort of FTP information?
Forum: PHP Dec 30th, 2008
Replies: 13
Views: 704
Posted By designingamy
Okay, I tried it through FTP, same ordeal. I don't know why I thought it would be different. The problem isn't the picture going in, it's getting it out :( Any ideas what would cause something...
Forum: PHP Dec 30th, 2008
Replies: 13
Views: 704
Posted By designingamy
Thank you for you answer. I went to that exact directory I save the files to and it shows it in there, so that's how I knew the picture saved.

I don't have CHMOD option but I went into my server...
Forum: PHP Dec 29th, 2008
Replies: 13
Views: 704
Posted By designingamy
Well, I did. I made sure the image goes in...but it never comes out. That's why I was wondering if something is wrong about my code. Now everytime I get to that page, something from my server pops...
Forum: PHP Dec 29th, 2008
Replies: 13
Views: 704
Posted By designingamy
Okay...here's the html form part:

<html>
<FONT style="FONT-SIZE: 12pt" face=Arial>
Upload Picture:
</FONT>
<TABLE>
<TBODY>
<FORM onreset="return confirm('Do you really want to reset the...
Forum: PHP Dec 29th, 2008
Replies: 13
Views: 704
Posted By designingamy
Hello all, I asked this question before but it's been awhile ago and I can't find where I asked it. But anywho, it's never been solved.

On one page I want a person to upload a picture and my php...
Forum: PHP Dec 18th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
Okay, this is what I posted.

<?php
session_start();

include ("databaseinfo.inc");

mysql_connect ($host, $user, $password, $database)
or die ("No Connection");
Forum: PHP Dec 18th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
Yes, but that isn't working either. Not sure what's going on.
Forum: PHP Dec 18th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
Oh, sorry-the last part is...

echo "img src='.../uploads/$tempFile' alt='Oops, not showing'>";
Forum: PHP Dec 18th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
This is from the first page:

<?php
session_start();

include ("databaseinfo.inc");

mysql_connect ($host, $user, $password, $database) or die
("No Connection");
Forum: PHP Dec 18th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
I know these files are going in...they just aren't being pulled out correctly, but I can't figure out why
Forum: PHP Dec 18th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
I see what you mean, but the same thing happens when I change it to this:

<?php
session_start();

include ("databaseinfo.inc");

mysql_connect ($host, $user, $password, $database)
or die...
Forum: PHP Dec 17th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
Okay, I may have gotten this figured out by changing the chmod. However, now that I have that up, I get this red X. What does that mean in regards to my code? Here's what I have on the page I'm...
Forum: PHP Dec 17th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
I did what you said and these are the 2 error messages:

Warning: move_uploaded_file [file] [function.move-uploaded-file]: failed to open stream: Permission denied on line 15

Warning:...
Forum: PHP Dec 16th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
Okay, that didn't work. It showed an error:
No such file or directory
even though I know it does exist. Not sure what to do now. Any ideas?
~Amy
Forum: PHP Dec 16th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
Okay, I think I am closer! How does this look for the first part?

<?php
session_start();

include ("databaseinfo.inc");

mysql_connect ($host, $user, $password, $database) or die ("No...
Forum: PHP Dec 16th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
Okay, so it stays in this new folder I create and I just store the name of where it is located in the database if it is accepted.

Yes, if you can help me find an example code that would be...
Forum: PHP Dec 16th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
If I create a custom folder for this, where would be a good place to put it? Should it be in the same directory as the php temp folder or does it matter?
Forum: PHP Dec 16th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
Is it possible to save the image into a temporary folder and save the path in a session? Or when I go to the next page does it erase the image? Am I just going to have to save it in the database...
Forum: PHP Dec 15th, 2008
Replies: 22
Views: 1,627
Posted By designingamy
Hello,

I am wanting to take an uploaded picture from one page, put it into a session and carry it to another page. Once I get to that page and the client accepts it, then store it in the...
Forum: JavaScript / DHTML / AJAX Dec 15th, 2008
Replies: 3
Views: 1,709
Posted By designingamy
Okay, nevermind. I got it figured out myself. Thanks anyway :)
Forum: PHP Dec 12th, 2008
Replies: 3
Solved: preg match
Views: 1,438
Posted By designingamy
Oh, I see. I was trying to control how many characters were entered in the box. Silly me. Thanks everyone! It works now!
~Amy
Forum: PHP Dec 12th, 2008
Replies: 3
Solved: preg match
Views: 1,438
Posted By designingamy
Hello all,
I am having a hard time trying to figure out why I can't get my code to successfully check my email address. It seems I can plug in anything and it won't give me an error.

This is my...
Forum: JavaScript / DHTML / AJAX Dec 12th, 2008
Replies: 3
Views: 1,709
Posted By designingamy
I could be wrong, but I though this...


session_register("SESSION_VAR1");
$SESSION_VAR1 = $var1;


...was the same thing as this:
Forum: JavaScript / DHTML / AJAX Dec 11th, 2008
Replies: 3
Views: 1,709
Posted By designingamy
Hello everyone!

I am new to JavaScript and have been using PHP, but needed to use a dynamic form for information about County/State. Here is part of the code (keep in mind I did all 50 states...
Forum: PHP Dec 11th, 2008
Replies: 4
Views: 457
Posted By designingamy
Yes, you were absolutely right. They seem to be working now! Thanks bunches!
~Amy
Forum: PHP Dec 10th, 2008
Replies: 4
Views: 457
Posted By designingamy
This is the code on the 1st page:

<?php
session_start();

include ("mydatabaseinfo.inc");

mysql_connect ($host, $user, $password, $database)
or die ("No Connection");
Forum: PHP Dec 10th, 2008
Replies: 4
Views: 457
Posted By designingamy
I'm having a hard time with sessions. I have a long form on 3 different pages and then a preview page of everything entered. I created the code to store the session variables on each page but on...
Showing results 1 to 40 of 94

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC