DanceInstructor 19 Posting Whiz

I like the new signature background. :)

DanceInstructor 19 Posting Whiz

We were having fun watching you post to yourself :p

DanceInstructor 19 Posting Whiz

I found some info at this link , dunno if it will be helpful or not...

DanceInstructor 19 Posting Whiz

eeewwwwww :(

If you use firefox try the javascript debugger(near bottom of page). It should allow you to see any javascript being run and maybe find the link. If you wanna go to that much trouble that is...

DanceInstructor 19 Posting Whiz

I have no experience with Plesk...

Have you tried bookmarking the phpMyAdmin page? I can do that in cpanel and then login when it tries to access the page.

DanceInstructor 19 Posting Whiz

I think what you have looks ok. You could massage the format a bit? Personally I would prefer the time show on the left side of the event:

10:00AM Ceramics

Looking at the page I don't "readily" see why it is not acceptable, but then again I am not familiar with accessibility issues... :confused:

Are you recieving complaints or something?

DanceInstructor 19 Posting Whiz

I don't know perl, but I bet if you go to google and search for "perl contact form" you will find something to work for you in the first 5 or so results.

Uh oh I think we might get another forum :p at Dani

DanceInstructor 19 Posting Whiz

I suggest you learn some SQL. You can get a start here. I'm sure if you make a post in the databases section, someone there will have other sources of knowledge to point you to.

GL :)

DanceInstructor 19 Posting Whiz

To take a screenshot just hit your PrtScn key. Then open some graphics program (like Paint in Windows) and do paste. The image will be copied and you can save it as a file and then upload for all to see.

DanceInstructor 19 Posting Whiz

Just for kicks try it with a \ ...

DocumentRoot "Z:\Temp"

DanceInstructor 19 Posting Whiz

Does you page have any output at all? If not then try moving the script from the head to inside of the body tags.

[EDIT]BAH! I just realized the origional post is over a month old :([/EDIT]

DanceInstructor 19 Posting Whiz

Post your origional php code for the query.

DanceInstructor 19 Posting Whiz

Are you looking for a regular expression?

DanceInstructor 19 Posting Whiz
<input
type='radio'
name='temp'
checked='checked'
value='Celcius' /> Convert to Celcius <br>

<input
type='radio'
name='temp'
value='Fahrenheit'/> Convert to Fahrenheit<br><br>

The above means that you need to look for the post variable 'temp' like so:

$convTemp = $_POST['temp'];

Then whenever you reference $convTemp:

if($convTemp == 'Fahrenheit') { do stuff }
if($convTemp == 'Celcius') {do stuff }
if(($convTemp != 'Fahrenheit') && ($convTemp !='Celcius')) { die('we have a big problem!'); }

you will see Fahrenheit or Celcius, whichever the user picked.

If I remember correctly I read somewhere (can't remember where) that if-then-else statements are faster than case-switch statements, but as you are only dealing with 2 options it probably doesn't matter which you use as long as it works.

DanceInstructor 19 Posting Whiz

Do you want to track this info with software on a web server or with software on the user's computer? If on a web server then php should be able to (as long as pages browsed are on that particular webserver). If on the user's computer then you need to use a different language (like c++ or maybe visual basic).

DanceInstructor 19 Posting Whiz

I looked at your site. At the moment you page should have all the images in the same directory as the page. Or you can change the code on your page like this:

<img src="banner.jpg" width="746" height="125">

change to:

<img src="images/banner.jpg" width="746" height="125">

Have fun :)

DanceInstructor 19 Posting Whiz

Why not try the windows firewall while you search for another....

DanceInstructor 19 Posting Whiz

You uploaded the images too right? If the images are in a folder lets say called "images" on your computer, you must also have an "images" folder on the website.

DanceInstructor 19 Posting Whiz

Sometimes bad syntax in your httpd.conf file (config file) can cause apache to crash.... Try starting over with it maybe.

DanceInstructor 19 Posting Whiz

I might be wrong but this post would probably be more appropriate for the c++ forum (or some similar language) or maybe the networking forum.

DanceInstructor 19 Posting Whiz

Depends, what scripting languages are available for use on your webserver?

DanceInstructor 19 Posting Whiz
Warning: Unknown(): Unable to call () - function does not exist in Unknown on line 0

Has anyone seen this error or know what it means??

Thanks

DanceInstructor 19 Posting Whiz

hmm, there was only 1 ip address. I am the 11th listing on that search on msn :cheesy: so that is one of the numbers lol

DanceInstructor 19 Posting Whiz

I was checking the cpanel for my website and saw this as a referer:

http://search.msn.com/results.aspx?q=western+dance&first=11&count=10&FORM=PORE

Does this mean that someone performed this search and then actually came to my site?

Or will this type of thing show up whenever someone enters a search that my site is listed under?

Please help me understand

DanceInstructor 19 Posting Whiz

You can add your link to the link directory here at Daniweb

DanceInstructor 19 Posting Whiz

You are correct about phpBB. If you mod it then update or change templates then you can have some major headaches.

Yes... I am.

I have looked and looked and looked. Came to the realization that there is a major management problem with phpBB.

All hacks/mods/add-ons (mods hereon) use SubSilver templates/Style. Any new styles added, the mods have to be redone, i.e. programmed either the mod templates, the styles themselves or both.

In vB, that is not the case. The styles and look-and-feel is inherited by the mods.

This creates a huge problem in phpBB. When there is a major version change, I would have to re-apply all mods, THEN reapply all template/style changes.

My primary goal is to make the site as self-sufficient, self-managing as possible, most hands off.

Am I wrong? Correct me quickly before I drop $280...

DanceInstructor 19 Posting Whiz

do you think blogspot ppl are not allowing me to do this

Hmm I doubt it. I was able to find other blogspot sites in google... I would submit a support ticket to blogger.

DanceInstructor 19 Posting Whiz

I would use Google Adsense for Search. It has a site search feature.

floris commented: Good post! +3
DanceInstructor 19 Posting Whiz

You can try these:

PHP Builder

Spoono

PX

and of course:

PHP: Hypertext Preprocessor

Have fun :cheesy:

DanceInstructor 19 Posting Whiz

I looked with xp sp2 ie 6.0. Works fine....

DanceInstructor 19 Posting Whiz

I have observed no more duplications. I consider this resolved :cheesy:

Thanks,
Dance

DanceInstructor 19 Posting Whiz

In your phpMyAdmin folder there is a file called: config.inc.php. Open it in a text editor(if the text looks funny try wordpad or some equiv) and look for the following:

$cfg['PmaAbsoluteUri'] = '';

$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address

$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = '';                 // MySQL user
$cfg['Servers'][$i]['password'] = '';          // MySQL password (only needed

Probably the only thing to change will be the PmaAbsoluteUri, just makesure it points to your domain ex: http://www.whatever.com On another note if your
domain has not fully transferred yet you will have to wait until it does....

As far as the extra stuff I recommend cookie auth because it is more secure. The $cfg[$i] more than likely should be localhost, if not you will have to contact your provider to get correct info.

DanceInstructor 19 Posting Whiz

Is there a way to make substitutions? I know nothing of xslt, but you want to substitute a <br /> tag where ever the style sheet encounters the &gt;

If you are generating the xml yourself, you might try this:

<text>
  <table>
    <tr>
      <td>a less than</td>
      <td>a greater than</td>
    </tr>
  </table 
</text>

Hope this helps.. :sad:

DanceInstructor 19 Posting Whiz

Are you using mod_alias? If so you should use the [PT] flag with mod rewrite rules.

DanceInstructor 19 Posting Whiz

Hi
I have a couple of harddrives (same model) that I have put in a striping array. In Nero you can go to File->Preferences->Cache, about the middle of the dialogue there is a way to test drive speed. When I look at the drive speeds like this in Nero the striped array shows at same speed as 1 of the harddrives by itself before being in the array.

I thought that due to striping the speed would almost double?? Is it something about the way Nero performs the test or do you think the raid array is not functioning properly? Is there some benchmarking software for harddrives that will give more accurate and detailed results?

Thanks,
Dance

DanceInstructor 19 Posting Whiz

These are the fuctions you need. I suggest you make a file called cookie.js and include in your html file like this:

<script type="text/javascript" src="cookie.js"></script>

and the javascript to place in the cookie.js file:

//
      //  Cookie Functions -- "Night of the Living Cookie" Version (25-Jul-96)
      //
      //  Written by:  Bill Dortch, hIdaho Design <bdortch@hidaho.com>
      //  The following functions are released to the public domain.
      //
      //  This version takes a more aggressive approach to deleting
      //  cookies.  Previous versions set the expiration date to one
      //  millisecond prior to the current time; however, this method
      //  did not work in Netscape 2.02 (though it does in earlier and
      //  later versions), resulting in "zombie" cookies that would not
      //  die.  DeleteCookie now sets the expiration date to the earliest
      //  usable date (one second into 1970), and sets the cookie's value
      //  to null for good measure.
      //
      //  Also, this version adds optional path and domain parameters to
      //  the DeleteCookie function.  If you specify a path and/or domain
      //  when creating (setting) a cookie**, you must specify the same
      //  path/domain when deleting it, or deletion will not occur.
      //
      //  The FixCookieDate function must now be called explicitly to
      //  correct for the 2.x Mac date bug.  This function should be
      //  called *once* after a Date object is created and before it
      //  is passed (as an expiration date) to SetCookie.  Because the
      //  Mac date bug affects all …
DanceInstructor 19 Posting Whiz

use a gif or png format, png is better if powerpoint supports it

DanceInstructor 19 Posting Whiz

Found this quote:

PHP does not support function overloading, nor is it possible to undefine or redefine previously-declared functions.[

and this code:

Method overloading is however permitted.

<?php
class A {
       function A() { }

       function ech() {
               $a = func_get_args();
               for( $t=0;$t<count($a); $t++ ) {
                       echo $a[$t];
               }
       }
}       

$test = new A();
$test->ech(0,1,2,3,4,5,6,7,8,9);

?>

// output:
// 0123456789

on this page.

DanceInstructor 19 Posting Whiz

Yes but you can use mod_rewrite to trick the search engines. You can find a guide here. It sorta makes my head spin tho :mrgreen: I have problems with regular expressions. Certain pages on this site use mod_rewrite, even tho they are .php and generated dynamically they will show up as .html in the address bar of your browser.

DanceInstructor 19 Posting Whiz

Try it with backslashes instead of forward slashes


d:\php\php5apache.dll

DanceInstructor 19 Posting Whiz

I knew that pig was gonna cause problems :( See attachment...

DanceInstructor 19 Posting Whiz

Looks good right now. No overflows. I will let you know if it happens again. Waiting for the pig to show up, that pig always oveflowed his bounderies....

Can I ask what you changed?

Dance

DanceInstructor 19 Posting Whiz

I think this might help: PHP: Direct IO Functions

Dance

DanceInstructor 19 Posting Whiz

Now how is Dani supposed to make any money if you never click on an ad once in a while? :sad:

DanceInstructor 19 Posting Whiz

Don't know if this happens to anyone else or not, but sometimes the ads near the top of the page will double overrunning parts of the page. This has happened in firefox 1. and firefox 1.0.1. See the attachment if you don't understand.

Dance

DanceInstructor 19 Posting Whiz

I use the forum index obviously :) There is a homepage?!? lol

So for the arrows to change I need to logout and log back in...

[EDIT]
The homepage is cool :mrgreen:
[/EDIT]

Dance

DanceInstructor 19 Posting Whiz

Can someone explain to me the purpose of the arrows that show up to the left of the forum titles on the index? They seem to be related to recent posts, but there are times I will see one next to a forum that I have already read all the posts. Does it take some time before they update? Whats the deal? Its driving me crazy I HAVE TO KNOW!!!!!!!!!!! :o

Dance

DanceInstructor 19 Posting Whiz

I thought that might be the case with phpBB2 and PHP 5.

Dance

DanceInstructor 19 Posting Whiz

Yes you need to create the database, but it needs to be empty for installation. Is there data in the database from the first installation? If so drop it all so that you start with a clean slate, you may also want to delete the phpBB2 folder and recreate it. Try taking a look at the server logs for errors. PHP normally writes errors to the webserver log files...

Dance

DanceInstructor 19 Posting Whiz

Does anyone know for sure if phpBB2 will run with PHP 5??

Dance