Jump to content

webhead

Members
  • Posts

    23
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://www.gui4me.com
  • Yahoo
    gridzmaster

Profile Information

  • Gender
    Not Telling
  • Location
    OH

webhead's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [quote author=shoz link=topic=111678.msg452842#msg452842 date=1161036201]Does apache have write access to the directory you're trying to dump to? [/quote] DOH!! I could have sworn I set the chmod for that directory. The weird thing is that it wrote to that directory from Terminal. But since all is well now, no more swearing for me. ;-) Thanks loads!
  2. Thanks! Progress made but still no output file from mysqldump. What it's doing now is showing that it found mysqldump after the putenv statement, but the getenv is unchanged. Here's my code: [code]putenv('PATH=/usr/local/mysql/bin:' . getenv('PATH')); echo "getenv is --> ", getenv('PATH'); echo "<br /><pre>" . shell_exec('which mysqldump') . "</pre>"; $mysqldump =  "/usr/local/mysql/bin/mysqldump"; $command = "$mysqldump --version"; passthru($command); $dumpit = "$mysqldump -h $h -u $u -p$p $d > $filedest";  passthru($dumpit);[/code] And the displayed messages: [code]getenv is --> /bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/System/Library/CoreServices /usr/local/mysql/bin/mysqldump    (result of $command) mysqldump Ver 10.10 Distrib 5.0.24a, for apple-darwin8.5.1 (i686) [/code]
  3. Hi, I'm trying to do a mysqldump from php. I can do so from Terminal but not php. Phpinfo shows the PATH to be /bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/System/Library/CoreServices but I need to add /usr/local/mysql/bin/ so it can find mysqldump. I made sure safe mode is off and tried various ways to set the mysqldump command, but it just can't find it. Here is what I tried with putenv: [code]$myPath = "PATH=/bin /sbin /usr/bin /usr/sbin /usr/libexec /System/Library/CoreServices /usr/local/mysql/bin/"; $chgPath = putenv($myPath); echo "<br>return value of putenv = ",$chgPath; echo "<br>my path = ",$myPath; echo "<br>returned path = "; echo getenv('PATH');[/code] Help!
  4. Hi, I'm having a similar problem, but the @ symbol does not suppress the messages. Here's my code: [code]$gets = "SELECT * FROM mytable WHERE $criteria"; $result = $connector->query($gets); if (!$rows = $connector->getNumRows($result)) { echo $error; }[/code] Here is the function: [code]function query($query) { $this->theQuery = $query; return @mysql_query($query, $this->link); }[/code] I get the "warning" message if the record being searched for does not exist.
  5. The GUI4me site is now transformed and ready for yet more analysis. [a href=\"http://www.gui4me.com\" target=\"_blank\"]http://www.gui4me.com[/a]
  6. [!--quoteo(post=365180:date=Apr 15 2006, 07:20 PM:name=redbullmarky)--][div class=\'quotetop\']QUOTE(redbullmarky @ Apr 15 2006, 07:20 PM) [snapback]365180[/snapback][/div][div class=\'quotemain\'][!--quotec--] now we're talking! although the designs of your other templates (including your actual main site) are vastly different to the leafy design, the principles and stages you've followed to turn what was frankly nasty into something that's looking pretty good are exactly the same. keep it up! Mark [/quote] Thanks for your advice and patience. I'll try and get to the other designs this week.
  7. Okay, made some changes, iz better?
  8. [!--quoteo(post=364899:date=Apr 14 2006, 05:06 PM:name=redbullmarky)--][div class=\'quotetop\']QUOTE(redbullmarky @ Apr 14 2006, 05:06 PM) [snapback]364899[/snapback][/div][div class=\'quotemain\'][!--quotec--] very true. but as for text size - 11 or 12px is fine for most viewers - and considering you're into your standards, maybe you should leave 508/accessibility to deal with those with impaired vision. i know a few people with vision impairment that have no problem getting round a site that has smaller text, as long as it complys with 508/accessibility standards. some more food for thought i guess. as for css zengarden site, there are hundreds if not thousands of examples on there of all sorts of design - floral, contrasting, futuristic, metallic, etc. research on good design takes hours and days, not a few minutes. if youre adament and committed enough to get your project off the ground, then spend some serious time lookin through sites like that. they will only help you more in the long run as well as now. [b]edit:[/b]loud primary colours can work too, but as with my previous comments, it has to fit in with what you're trying to do and all the elements need to belong together. here's my site i'm currently working on, with overly loud colours: [a href=\"http://www.crashandburn.co.uk\" target=\"_blank\"]http://www.crashandburn.co.uk[/a] good luck, Mark [/quote] For some odd reason your loud colors don't bother me. I have no clue why not. Well, between an afternoon of webhost technical difficulties and an evening of tornado warnings, I managed to tweak [a href=\"http://www.test.fether.net/index.php\" target=\"_blank\"]The Leafy Site[/a] somewhat. Would you consider it a step up or down? Tried to do something, anything with the edges, made the body text and h1 smaller. And it even runs okay on IE (pronounced aaaaaaiiiiiiiieeeeee!!!).
  9. [!--quoteo(post=364880:date=Apr 14 2006, 04:29 PM:name=titangf)--][div class=\'quotetop\']QUOTE(titangf @ Apr 14 2006, 04:29 PM) [snapback]364880[/snapback][/div][div class=\'quotemain\'][!--quotec--] Check out [a href=\"http://www.csszengarden.com\" target=\"_blank\"]Css At its best[/a] If you don't find something that's appealing there, well... I'll be baffled. This should also give you some ideas for some site design.[/quote] I did check that site out. Overall very nice colors and visuals. But one skin was extremely narrow, another had such small type at the top I could hardly read it, and another had reverse video that hurt to look at. Switching between them, I never knew where to look for the nav bar. So there's a web coder's design, and then there's an artist's design. According to all I've read about good web functionality, the navbar should be where people expect it to be, either on the top or the side, not somewhere in the middle or down far enough you have to scroll. People with less than perfect vision, like me, don't want to do the "increase text size" thing too much either. Small text may be more artistic but it still has to be legible. Most site visitors are either hooked or turned off in about 15 seconds, so if I can't easily find the nav bar or figure out what the site is about I will move on. [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--] Please don't keep the "ugly" skins... plz?[/quote]I don't know, I might leave them there just to annoy you >:-( [!--quoteo(post=364881:date=Apr 14 2006, 04:29 PM:name=redbullmarky)--][div class=\'quotetop\']QUOTE(redbullmarky @ Apr 14 2006, 04:29 PM) [snapback]364881[/snapback][/div][div class=\'quotemain\'][!--quotec--] youre right. even the ones that you may feel arent up to scratch will be of use to someone, i guess. otherwise, you'll actually find it an excellent 'guage' to how youre progressing. in terms of 'yesterday', it's a figure of speech but holds some weight in it. if you're really curious to see what i mean, then take a look for yourself: [a href=\"http://www.archive.org/\" target=\"_blank\"]http://www.archive.org/[/a] . the site serves not much more purpose than to see what sites looked like 'yesterday' and you'll see the way things have changed dramatically. look at 'google' and 'friendsreunited.co.uk' at archive.org to really see what i mean. [/quote] Thanks, I looked around there a little. Well at least I haven't done the loud primary colors, eh? (ok, the "chipset" design is ugly, but the whole idea was a circuit board look. Just for fun. And to annoy people.)
  10. [!--quoteo(post=364772:date=Apr 14 2006, 09:34 AM:name=redbullmarky)--][div class=\'quotetop\']QUOTE(redbullmarky @ Apr 14 2006, 09:34 AM) [snapback]364772[/snapback][/div][div class=\'quotemain\'][!--quotec--] check out ober's pinned topic at the top of website critique: 'Resources'. Even consider CSS for many of your elements. It will take you a little longer than drawing it up in photoshop, but it will force you to ask the question of whether each element belongs on the page. ... hope that helps some more [/quote]Yes, thanks. I get much more out of a detailed comment on exactly why a design is bad, than just being told "it's yesterday". I wasn't online "yesterday" so I have no idea. But I will try to get my head around what you're saying. For what it's worth, the gui site is all CSS and no tables (same for the "leafy" site, which is all served out of a database; I did all the php/mySQL, and it's basically a small CMS). Eventually I'll try and have a few different skins that can be selected by the site visitor. I'll keep the "ugly" skins just because if I didn't know they were bad, then someone else might like them too. But I'll also try and develope other styles as well so I can appeal to more tastes.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.