Search:
Type: Posts; User: vonshavingcream
Search:
Search took 0.01 seconds.
-
did you try
else if($hidden == "no" || $admin === TRUE)
-
you may have to manually set the php.ini on your sever to allow for fopen() to work with HTTP://
check with your hosting company or set allow_url_fopen=On in your PHP.ini file.
-
you will also want to learn about loops both
for() loops
and
while() loops
you will also want to learn foreach() as well.
-
fair enough.
you eliminate that by adding a space, which is basically what you did with preg_replace
$string = str_replace('<a ','<a class="blue_text"',$string);
no worries though ......
-
the easiest answer .. http://www.princexml.com/overview/
but it's not open source (as in free)
although it does a free personal version.
I have also used http://www.fpdf.org/
for many large...
-
for starters .. how are storing the image of the week information?
do you have a database?
-
you could use str_replace
$string = str_replace('<a','<a class="blue_text"',$string);
-
JunkMale is right .. mysqli is a class object
would look more like this
$mysqli = new mysqli('localhost', 'my_user', 'my_password', 'my_db');
...
-
i would recommend reading this tutorial.
http://www.phpfreaks.com/tutorial/php-basic-database-handling
moderators .. this link does go to another "forum" type site. If this is not allowed,...
-
no not rejected, but they do get notified that via email that the account was accessed.
they also have to click manually on a link to continue. You could also add a capcha box at this point as...
-
the second line in the description at the wiki link
"A salt is often employed with hashed passwords to make this attack more difficult, often infeasible"
what i have done in the past for things...
-
you might also want to step away from your switch "relying" on the $_GET[] of the variable.
if your errors are hidden you won't see the error but it's still there. If i remember correctly, it can...
-
looks at first glance like you are only referencing the first entry in of your mysql array.
i would change the SQL to limit the the pull to 6 entries first.
$sql = "SELECT * FROM friends AS...
-
I am just getting a blank screen.
the fsockopen is not erroring out.
$this->_dsUrl is the host name of the server I am trying to access.
in this case ... blue.intra.com
when I check the...
-
I am working on an fsockopen() function and it seems to working but nothing is being returned.
i wanted to make sure i wasn't missing anything. before I go and look at configuration files and...
-
I acutally got it to work. My XML wasn't really the problem.
I needed to use the PHP value
$req->addRawPostData('xml here');
this posted the XML to the server.
-
Cool, good job.
Hope I helped and didn't hinder :)
-
that will work, but it won't actually change the database values, just the value within the resulting array.
you will also want to make sure you ORDER BY the correct field
SELECT * FROM table...
-
ahh .. well in that case a simple for loop using count() would help you
//
$entries = //array of data rows sorted by that id field;
$counter = 1;
for($i = 0; $i < count($entries); $i++){
...
-
is the auto increment field set as the primary key?
If so, I'm not sure you can re-use primary keys.
plus mySql stores the next auto increment in the table data structure. auto-increment=14 or...
-
I know this is probably specific to each application, But I figured I would ask any anyway.
I am trying to use the Http/Xml interface included with a web based software package we use here called...
|
|