Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 144
Search took 0.57 seconds.
Search: Posts Made By: ClubCosmic
Forum: PHP 06-28-2011, 08:49 PM
Replies: 1
Views: 254
Posted By ClubCosmic
I finally figured it out. ...

I finally figured it out.

add_action('wp_header', 'pluginname');

i was using
add_action(wigit_init','pluginname');

i hope this helps others.

thanks anyways.
Forum: PHP 06-28-2011, 07:48 PM
Replies: 1
Views: 254
Posted By ClubCosmic
wordpress plugin displays before header

i have a simple wordpress plugin. and the widget works. however the plugin displays at the top of the page ever before the html tages and <head> tags disply. is there anyway to disable it fropm...
Forum: MySQL 03-16-2011, 04:07 PM
Replies: 9
Views: 1,307
Posted By ClubCosmic
I installed the .so files. the thinking was...

I installed the .so files.
the thinking was that i could just point the install to the location of them. also i realize that the only version for redhat is the redhat enterprise version. so i...
Forum: MySQL 03-15-2011, 02:16 PM
Replies: 9
Views: 1,307
Posted By ClubCosmic
im sorry, I need a suggestion on how to fix the...

im sorry, I need a suggestion on how to fix the issue.
Thanks
Forum: MySQL 03-14-2011, 11:21 PM
Replies: 9
Views: 1,307
Posted By ClubCosmic
installing mysql on redhat fails

Hi all.

I am trying to install mysql 5.5.9 on redhat 9. it is saying that i have dependencies that failed.. libaio.1.so
the libs are in the folder /usr/lib but the rpm install doesnt recognize...
Forum: PHP 11-24-2010, 04:38 PM
Replies: 8
Views: 659
Posted By ClubCosmic
and the above format is acceptable so i dont have...

and the above format is acceptable so i dont have to change it?

thanks
Forum: PHP 11-24-2010, 04:11 PM
Replies: 8
Views: 659
Posted By ClubCosmic
php date time functions

Hi,
I have the following date time format:
24-11-2010 11:6:57

I want to get a beginning datetime and an ending datetime and caluculate the difference in hours. How can i transform the above date...
Forum: General web building 01-19-2009, 04:22 PM
Replies: 0
Views: 2,231
Posted By ClubCosmic
Apache SSL.conf virtual host

Hi,

When configuring apache ssl.con for multiple virtual host configurations. I know to use an ip-based configuration. but if I am using NAT to translate the public ip to a private one, how do i...
Forum: General web building 12-22-2008, 04:52 PM
Replies: 1
Views: 711
Posted By ClubCosmic
apache virtual hosts

hi,

when i include the /conf/extras/vhost-httpd.conf file the main apache page fails to load. is there somtihing i need like a allow all directive?
Thanks
Forum: Perl/ CGI 01-07-2008, 08:02 PM
Replies: 3
Views: 919
Posted By ClubCosmic
:rolleyes:thank you,

:rolleyes:thank you,
Forum: Perl/ CGI 01-07-2008, 07:45 PM
Replies: 3
Views: 919
Posted By ClubCosmic
If statement always returns true

Hi,
I have a if statement in perl that always returns TRUE. I am retrieving the variable from a url and when i print out the value it returns the correct value. however when i use the if statment it...
Forum: PHP 11-26-2007, 12:11 PM
Replies: 3
Views: 1,612
Posted By ClubCosmic
I want to try using php5 but my oop skills aren't...

I want to try using php5 but my oop skills aren't the best. I'm looking onlince for resources to teach myself, but when i read about classes in php5 they seem more complicated than what i'm used to....
Forum: PHP 05-30-2007, 09:03 PM
Replies: 5
Views: 768
Posted By ClubCosmic
ahhhh, makes sense now. two foreach...

ahhhh,

makes sense now. two foreach statements i for the haystack and one for the neeedles. thanks for your input.

c.c.
Forum: PHP 05-30-2007, 02:37 AM
Replies: 5
Views: 768
Posted By ClubCosmic
I've fixed the code up some but i now realize i...

I've fixed the code up some but i now realize i can't use an array as the 2nd argument in function ValSpam(){
$array = array('cc:', 'bcc:', 'content-transfer-encoding:', 'subject:',...
Forum: PHP 05-30-2007, 12:03 AM
Replies: 5
Views: 768
Posted By ClubCosmic
Thank you for your reply. I never ran into the...

Thank you for your reply. I never ran into the need for this kind of validation before and always like to be secure with forms and input.
Forum: PHP 05-29-2007, 11:08 PM
Replies: 5
Views: 768
Posted By ClubCosmic
mail() and php validation

Hi,

I have a simple form that sends email using mail(). there are only 4 fields.
first name, last name, email address, message

I plan on validating for the email addres, and to strip tags in...
Forum: PHP 04-09-2007, 09:26 PM
Replies: 8
Views: 689
Posted By ClubCosmic
$ryan = new user; I noticed your class has...

$ryan = new user;

I noticed your class has an uppercase U in class User
your declaration has a lowercase.

also function setlogin has a lowwercase "l" where youre calling it with an uppercase...
Forum: PHP 04-08-2007, 03:50 PM
Replies: 1
Views: 484
Posted By ClubCosmic
using a single mysql query in a function

Hi,

I have a function that works well. although i thought that everytime I call this function to makes a query to the database when i already have the results. So i modified the function to query...
Forum: PHP 04-07-2007, 04:04 PM
Replies: 7
Views: 1,805
Posted By ClubCosmic
Thumbs up thanks again!!

thanks again!!
Forum: PHP 04-07-2007, 03:16 PM
Replies: 7
Views: 1,805
Posted By ClubCosmic
Hi all, This is a question that im posting...

Hi all,

This is a question that im posting again because i cant get it to work.

Basically i have a form field using radio buttons. When submitted, it places the value in a session. I am trying...
Forum: PHP 04-01-2007, 10:50 PM
Replies: 7
Views: 1,805
Posted By ClubCosmic
thank you that means "is equal to and of...

thank you

that means "is equal to and of the same type"

correct?

also,
is the rest of the statement ok? (echo"SELECTED")
Forum: PHP 04-01-2007, 09:52 PM
Replies: 7
Views: 1,805
Posted By ClubCosmic
selecting a radio button with a session variable

This is my code:

$checked = $_SESSION['empstatus'];

echo '<p>Employed<input type="radio" name="empstatus" value="employed"'; if ($checked = "employed") { echo "SELECTED";} echo '>';
echo...
Forum: PHP 03-30-2007, 11:19 PM
Replies: 13
Views: 985
Posted By ClubCosmic
the problem was the usually suspect.....ME! ...

the problem was the usually suspect.....ME!

i was using an if(isset($_POST[submit])) statement to determine whether or not to run the switch() statement.

not sure how this would cause that to...
Forum: PHP 03-30-2007, 11:11 PM
Replies: 13
Views: 985
Posted By ClubCosmic
i did figure this much out. if i link to another...

i did figure this much out. if i link to another page before submitting the form on page 1, then it keeps the same session.

problem is,
i am using a switch statement to choose a function which...
Forum: PHP 03-30-2007, 10:15 PM
Replies: 13
Views: 985
Posted By ClubCosmic
i removed it. it still creates a new session....

i removed it. it still creates a new session. originally i didnt have session_name but tried it after reading around.

i have used session before without this happening.
Showing results 1 to 25 of 144

 
Forum Jump

All times are GMT +1. The time now is 06:33 AM.