Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 23rd, 2001, 11:10 AM
ugala ugala is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Location: estonia
Posts: 2 ugala User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
apache/mysql image troubles...

i'm running apache1.3.20 with php4.0.6 on the NT platform for local development.

for some odd reason the apache does not allow me to save imagefiles to the mysql database . application/ms word, application/pdf and even images/bmp are ok. but saving image/pjpeg or image/gif fails miserably after few bytes....

the reason is NOT the php script doing the job since on PWS the same script is working perfectly (originated from phpbuilder with modifications). i hav not tried it on unix yet....

so, the problem (in my humble oppinion) is :
a\in the apache configuration
b\in the apache for sicromoft version
c\in the php cgi version (less likely since the script works on PWS)

Anybody, any ideas? i reaaaaaally want to abandon the pws but the intranet is running on NT so in order to do that i have to retest all the php programs on apache

appriciate ANY sugestions

Reply With Quote
  #2  
Old November 1st, 2001, 02:37 AM
johan's Avatar
johan johan is offline
Advisor
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Location: Stockholm, Sweden
Posts: 446 johan User rank is Private First Class (20 - 50 Reputation Level)johan User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 h 39 m 40 sec
Reputation Power: 9
Send a message via ICQ to johan
Hmm...could this be the same problems that happend to me....
And I blamed it on phpMyAdmin...

I dumped a mysql database from a linux environment containing
BLOB's in both jpeg and gif format....

I tried to use phpMyAdmin to import this dumpfile in my
apache1.3.20/PHP4.0.6...Win2000 environment...
....
I did only get errors...and gave up...

What error messages do you got?
__________________
- [ If I cant fix it, ask MacGyver... ] -

Reply With Quote
  #3  
Old November 2nd, 2001, 01:50 AM
ugala ugala is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Location: estonia
Posts: 2 ugala User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
when dumping a large dumpfile with phpMyAdmin you are likely to run in trouble. I ones tryed to dump a NATO terminology wokabulary (proxymately 3200 terms) and it was a major pain. So you should do it from shell , in ypure case with the msdos prompt. yoy problaly now the drill but you have to (unlike in *nix systems) cd yourself to c:\mysql\bin\ directory before you can actually dump the data, so the command would look something like:

C:\mysql\bin>mysql -u root -p -h localhost www < c:\mydumpfile.sql
Enter password: **********

... but you probably know that so i wroted it down just in case

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > apache/mysql image troubles...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT