Search found 7 matches
- Fri Feb 26, 2010 3:42 am
- Forum: PHP - Code
- Topic: sending custom headers with HttpResponse
- Replies: 5
- Views: 243
Re: sending custom headers with HttpResponse
I have a simple need. I need to send some information in http headers using php. I need to access a api and I have an api key the api key needs to be sent in the header. Location is for redirecting and not for sending custom headers. I found this method on one tutorial - HttpResponse::setHeader ( 'c...
- Mon Feb 22, 2010 1:15 am
- Forum: PHP - Code
- Topic: sending custom headers with HttpResponse
- Replies: 5
- Views: 243
Re: sending custom headers with HttpResponse
23 views and no reply.*Disappointed*. Does no one use such a feature?
- Sat Feb 20, 2010 8:07 am
- Forum: PHP - Code
- Topic: Create thumb problem
- Replies: 4
- Views: 262
Re: Create thumb problem
Can you print the path completely once and see if it is pointed to the right place. On server it might change a bit especially if you have multiple domain on the same hosting account. Print the total file path of the thumb file once and cross chk.
- Sat Feb 20, 2010 6:15 am
- Forum: PHP - Code
- Topic: Create thumb problem
- Replies: 4
- Views: 262
Re: Create thumb problem
I guess you need to make the parent file writable. Better yet create a thumb directory on your server and override the directory creation code. You dont need it to be dynamic. You already know where to save the file. Just go to the folder on your host that contains thumb dir and create a thing dir. ...
- Sat Feb 20, 2010 4:53 am
- Forum: PHP - Code
- Topic: Simple email insert issue!
- Replies: 2
- Views: 153
Re: Simple email insert issue!
what is you data source? file as in csv/xls or to be entered manually through a UI?
If you just need to store the damn data then upload it directly to the database why bother with PHP?
If you just need to store the damn data then upload it directly to the database why bother with PHP?
- Sat Feb 20, 2010 4:48 am
- Forum: PHP - Code
- Topic: User Login Problem
- Replies: 4
- Views: 232
Re: User Login Problem
How are you using the activation link ?? is there some thing like 0/1 that get set when an user arrives on the activation page? How is that done exactly? Keeping in eye the login possible in the morning thingy.. I believe there is something wrong during the email link validation part.
- Sat Feb 20, 2010 2:32 am
- Forum: PHP - Code
- Topic: sending custom headers with HttpResponse
- Replies: 5
- Views: 243
sending custom headers with HttpResponse
Hey Guys. this is my first post in this forum. I was trying to send a custom header to another page for accessing its api. I am using this HttpResponse::setHeader ( 'customname', 'myvalue' ); What class do I need to use for this? Does PHP5.1 and above have this inbuilt or do I need to include some p...