Search found 34 matches

by AXEmonster
Fri Sep 05, 2008 4:48 pm
Forum: PHP - Code
Topic: creating word.doc but need encoding set
Replies: 0
Views: 1124

creating word.doc but need encoding set

Hi Guys

i am creating a word doc using fopen() which is working great

when i download the word.doc and open it I'm getting a conversion dialogue (see below) in word.

I just have to click ok and the file is fine

is there anyway i can automatically set the encoding in PHP so this does not appear
by AXEmonster
Tue May 20, 2008 12:43 am
Forum: PHP - Code
Topic: Where should i put this code~ help~
Replies: 5
Views: 307

Re: Where should i put this code~ help~

there could be a couple of reasons for this

if PHP is installed and working properly then try this

Code: Select all

<?PHP
 
echo ""<h3>Hi there, $userName!</h3>";
 
?>
i cant see where your catching the form value

where is your $_POST variable.
by AXEmonster
Mon May 05, 2008 1:25 pm
Forum: PHP - Code
Topic: Experienced newbie humbly requests asssistance...
Replies: 3
Views: 284

Re: Experienced newbie humbly requests asssistance...

have you setup your table id's as auto-increments
by AXEmonster
Mon May 05, 2008 1:21 pm
Forum: PHP - Code
Topic: Experienced newbie humbly requests asssistance...
Replies: 3
Views: 284

Re: Experienced newbie humbly requests asssistance...

have you setup your table id's as auto-increments
by AXEmonster
Mon May 05, 2008 5:27 am
Forum: PHP - Code
Topic: Database search function
Replies: 11
Views: 346

Re: Database search function

post all the code as you have it

php bit
by AXEmonster
Sun May 04, 2008 2:56 pm
Forum: PHP - Code
Topic: AUTO-INCREMENT NOT WORKING
Replies: 3
Views: 324

Re: AUTO-INCREMENT NOT WORKING

why would you insert into the ID field when your wanting to auto increment the database ID field should be setup to auto-increment which means you dont have to include that field in your insert statement also your spelling is incorrect as you have _ID and _id but again if your using an auto-incremen...
by AXEmonster
Sun May 04, 2008 11:11 am
Forum: PHP - Code
Topic: Database search function
Replies: 11
Views: 346

Re: Database search function

and your query is working returning results to the page
by AXEmonster
Sun May 04, 2008 5:10 am
Forum: PHP - Code
Topic: Create a temp page
Replies: 2
Views: 197

Re: Create a temp page

what you need to do is store the links in a database these links are in the user table and each user row has a column to hold the link for that download. The user row also holds an expiry date which when called by a script (or when the user logs in) the links would be deleted or scrambled (deleted i...
by AXEmonster
Sun May 04, 2008 4:50 am
Forum: PHP - Code
Topic: date from week number
Replies: 6
Views: 367

Re: date from week number

cheers

will test it and let you know
by AXEmonster
Sat May 03, 2008 7:11 pm
Forum: PHP - Code
Topic: date from week number
Replies: 6
Views: 367

Re: date from week number

i have but couldnt find an answer your example will produce the week number using the date() function. This i know and have already maybe i wasnt clear. I appologise i would like to take the following values (variables) week no = 18 year =2006 now reconstitute a date from those two into (yyyy/mm/dd)
by AXEmonster
Sat May 03, 2008 7:03 pm
Forum: PHP - Code
Topic: How can i destory an email which is already send...........?
Replies: 5
Views: 313

Re: How can i destory an email which is already send...........?

Once an email has been sent, it will be delivered. There is no possibility to "destroy" it or modify it. That's the way SMTP was designed. yes thats true when using text based email. The email is downloaded and stored on the user machine but when dealing with html email which include imag...
by AXEmonster
Sat May 03, 2008 6:45 pm
Forum: PHP - Code
Topic: Database search function
Replies: 11
Views: 346

Re: Database search function

where is the first bit of the code i gave you
by AXEmonster
Sat May 03, 2008 6:43 pm
Forum: PHP - Code
Topic: date from week number
Replies: 6
Views: 367

Re: date from week number

in your example how are you handling the WEEK NUMBER (1-52)?

i cant see the solution here?
by AXEmonster
Sat May 03, 2008 12:37 pm
Forum: PHP - Code
Topic: passing dynamic text from one page to the next
Replies: 2
Views: 213

Re: passing dynamic text from one page to the next

is the table dynamic

the rows are created depending on whats in the database?
by AXEmonster
Sat May 03, 2008 12:21 pm
Forum: PHP - Code
Topic: search and display images
Replies: 3
Views: 246

Re: search and display images

why do you have 2 directories for your images

and do you access both directories every time