johnwn- thanks for reminding me.
tyutghf- i've been googling for a while and couldn't really find anything specific to my issue. It's really more of the approach i'm having trouble with- because of the overlaps in the tabs, it's not as straightforward as if the tabs were more separate (vertical...
OK, so my designer made a really cool navigation bar but it's kinda stumped me as to the best way to display it without going nuts with lines of extra code.
It has a mouseover which will change the blue tabs to green, and when you mouseover, the subnav will display. In addition, when you are on...
it does.
all i want to do is sync with the server manually. i get about 100+ valid emails daily and that little buzz everytime a message comes in is getting old.
I think we're good here. It appears I wasn't so off-base after all. I was just trying to use the object type like a multi-dimensional array.
In context, the object is from a class like
$c = new member(23);
echo $c->firstname;
Then, there was a need to get an array within the member object...
is there any way to set my pearl to only reconcile on a set schedule or manually? I want to keep Wireless Reconcile on, but I just want to choose when I download messages.
Those sound good, but they seema a little overly-complicated. Why not use the modulus (%) operator? Here's what I usually do:
$maxcol = 4;
$count = 0;
echo "<table>";
$result = mysql_query("SELECT * FROM table");
while ($t = mysql_fetch_object($result)) {
if ($count % $maxcol == 0) echo...
good questions- what I was trying to do is basically use the object like an array (like $val['thiskey']['thisval']) because of how my class was created.
Seems like I should give more thought to the object itself and its architecture.
Based on this, I guess thisval would be a property of...
something to look out for with IIS vs. Apache are Date/Time calculations. I forget which one, but one of the servers will require leading zeroes and other specifics that can cause hard-to-find errors.
I converted a site from Apache to IIS which had a calendar with recurrence and a bunch of...
Until now, i hadn't tried it in a file all by itself, only within other scripts.
Without curly braces, it throws an error:
Catchable fatal error: Object of class stdClass could not be converted to string in /home/generic5/public_html/test.php on line 6
With curly braces, it executes fine.
I agree with jpadie- why on earth would a host ever have a reason to even look at your code?! It's surely a breach of etiquette, if not a credible legal breach.
Hello- this is more of a "why" question than a problem itself...
It's easy to create and reference 3-dimensional objects:
//example
$ob->firstkey->nextkey;
PHP syntax allows me to include a 2D object into a string without much trouble:
echo "Some text and $var->thisval more regular text"...
here's the error message:
Warning: fgetcsv() expects parameter 1 to be resource, boolean given in /home/generic5/public_html/contents/admin_super/uploaders_run.php on line 25
Fatal error: Out of memory (allocated 51904512) (tried to allocate 35 bytes) in...
This problem happens intermittently. Sometimes the script executes OK, other times the script crashes due to PHP running Out of Memory. (and the sometimes is even with the same imported file and only 10 minutes apart)
What the script does is take a CSV file sitting on the server and imports it...
You each shed some good light on this question. DonQuichote- i had not thought about that exploit. I usually have register_globals off, but you never know... I can also see the value in the other circumstances.
This really helps. Thanks!
So i understand the reason for defining variables from a historical standpoint: parsers needed to see these calls in order to allocate memory for variables before they're used. But now, PHP does this anyway, so do I really need to care? And if I do, why?
_jay
This problem is still unresolved. I have spent HOURS Googling for the answer and can't figure it out. Here's some more info:
- I can connect to the VPN
- Once connected, i can ping the IP Address of the server
- I cannot ping the server by name, short or Fully Qualified.
- NetBIOS is enabled
-...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.