Skip to main content

Posts

Showing posts from November, 2011

Display Current Year With PHP

Now that 2010 is just starting, many web designers have to update the copyright year on their own websites, and their client’s websites. Many end up doing it manually and waste a lot of time with this tedious task, but some use a better method, and it’s as simple as one line of PHP. Copyright <? print(Date("Y")); ?> No longer do you have to manually edit the footer of your websites with each year that passes!

solve : windows cannot access\home network computer - error message

· Hi, I have windows 7 on the client and xp pro on the "server", I have changed all netoworking protections to allow access to both PC's hardrives for copying files etc. From the client machine I get as follows; " Windows cannot access\XXX. You do not have permission to access \. Contact your network administrator to request access" File sharing it turned on, also secrurity settings for the harddrive locations are set to shared. As above i have done the same for many years with access being granted. What to I have to do to have my network access work correctly? I followed these steps: 1. Assure the two machines are in the same Workgroup or domain. 2. Temporarily turn off firewall on each machine and router (if it has). 3. Add the "Everyone" in the Security tab of the shared folder and grant the "Full Control" permission. 4. Enable Guest account on each machine and enable "Simple File Sharing" option on Windows XP machine. For your r

Windows 7 missing Administrator user login

try this... start pc hold F8 select safe mode with command promt when the box appears type net user administrator /active:yes a mesage should come up saying successfull reboot the pc an account administrator should appear.... IF THIS IS YOUR ACCOUNT THEN GOOD! IF NOT PROCEED login, go to start control panel system and secuity computer management users folder click users CHECK IF YOUR USERNAME IS STILL THERE... IF SO PROCEED right click your account and click properties, ensure the account is not disabled or locked if the boxes are ticked untick them and save to remove the main account repeat the same process at the start however type net user administrator /active:no

PHP - how to find out your phone carrier

Finding the Carrier of a Cell Phone Number in PHP By: George Huger June 20, 2011 Often web apps need to send SMS messages to their users (for example: balance alerts, reminders, notifications). To send these text messages from within your app, you basically have 2 options: 1) Pay Twilio and Tropo for the use of their APIs, for roughly a penny per message. 2) Send an email directly to their carrier’s mail-to-SMS gateway – a free service most carriers provide, which will translate your email into an SMS sent to their subscribers’ phone Twilio and Tropo are about as easy as it gets to integrate (REST-like APIs that return JSON / POX ), but you pay for every single message and that can add up quickly. So #2 (mail-to-SMS gateways) starts to look pretty good. But there’s some problems with mail-to-SMS gateways: 1) Each carrier has their own format. For example, T-Mobile’s gateway is number @tmomail.net (for the US), AT&T’s is number @txt.att.net (for most of their customers), and Veriz

PHP Using carrier to send sms via email

Website cara kirim sms via email smtp http://net.tutsplus.com/tutorials/php/how-to-send-text-messages-with-php/ http://www.google.co.id/#sclient=psy-ab&hl=id&site=&source=hp&q=php+using+google+carrier+to+send+sms&pbx=1&oq=php+using+google+carrier+to+send+sms&aq=f&aqi=&aql=&gs_sm=e&gs_upl=5249l13302l0l13597l36l19l0l0l0l0l2027l10779l5-1.2.5.0.1l9l0&bav=on.2,or.r_gc.r_pw.,cf.osb&fp=7c20ffb4e2625a2d&biw=808&bih=636 http://davidwalsh.name/send-text-message http://www.howtogeek.com/howto/27051/use-email-to-send-text-messages-sms-to-mobile-phones-for-free/ http://en.wikipedia.org/wiki/List_of_carriers_providing_Email_or_Web_to_SMS http://www.howtogeek.com/howto/27051/use-email-to-send-text-messages-sms-to-mobile-phones-for-free/ http://freesms.1888usa.com/

SMTP email to SMS gateway

SMTP to SMS gateway Here is one way to build yourself an SMTP to SMS gateway. Description Requirements Installation Description This is a very simple way to build yourself a small scale SMTP to SMS gateway, to allow you to send emails to your mobile phone. Requirements · Old mobile phone with a pre-paid phone card, so you won't end up with a nasty bill. · Data cable · Phone charger · Linux PC (Pentium 120Mhz with 32MB RAM) · Gnokii http://www.gnokii.org/ Installation Connect your phone to COM1 (/dev/ttyS0) using your data cable. Download and install Gnokii. su - rpm -ivh ftp://ftp.gnokii.org/pub/gnokii/binaries/RedHat/gnokii-0.4.3-1.i386.rpm rpm -ql gnokii # List files more /usr/share/doc/gnokii-0.4.3/COPYING more /usr/share/doc/gnokii-0.4.3/CREDITS more /usr/share/doc/gnokii-0.4.3/README cp /usr/share/doc/gnokii-0.4.3/gnokiirc ~/.gnokiirc vi ~/.gnokiirc # set "model = " to suite your phone # set "connection = " to suite your cable # in my case I set

Kenapa Flash tidak jalan di Apple (Ipad, Ipod, iphone) berikut penuturan Steve Jobs

The estrangement is complete: Let the messy divorce begin. Steve Jobs has gone public about his problems with Flash, the omnipresent web multimedia format which he will not allow on iPhones, iPods and iPads. Coming a little more than a week after Adobe said it would no longer try to get Flash onto Apple’s suite of mobile internet devices, this looks like the definitive split. There’s no chance of reconciliation, and the parties have moved from grumbling and sniping to publicly airing their grievances. “Flash was created during the PC era — for PCs and mice.”In a rare blog posting on Apple’s site, Jobs recounts a once cooperative relationship with Adobe, with Apple making visits to the then-startup’s Silicon Valley garage. And he acknowledges that the companies have long had intertwined fortunes, sharing many customers and, at one time, equity. But the new public remarks echo some he made in private at a recent Apple Town Hall meeting where he disparaged Adobe as “lazy.” Now the Apple C

FIX: msfeedssync.exe crashes (RSS synchronization Internet explorer)

Check if the Feed Task is corrupt by running the following command: schtasks /query | findstr /i "user_feed" Results: User_Feed_Synchronization-{C73963F9-62BB-4 27/07/2008 10:15:00 Could not start Ok, that is not good. Stop and restart the Feeds Task: C:Windowssystem32>msfeedssync disable C:Windowssystem32>msfeedssync enable Check Feed Task status again: schtasks /query | findstr /i "user_feed" Results: User_Feed_Synchronization-{B70B1824-595E-4 27/07/2008 10:14:00 Ready User_Feed_Synchronization-{C73963F9-62BB-4 27/07/2008 10:15:00 Could not start Ok, not good - now I have two tasks - there is definitely an issue with the original task which is unable to start. Disable the Feeds Task: msfeedssync disable Check to make sure that both Feed Tasks are gone: schtasks /query | findstr /i "user_feed" Results: No tasks running - that is good Restart the Feeds Task and check to see what we have got: msfeedssync enable schtasks /query | findstr /i "user

Windows 7 can't access Share in a workgroup

Start – run – secpol.msc Then… Browse to "Local Policies" -> "Security Options". Now look for the entry "Network Security: LAN Manager authentication level" and open it. Click on the dropdown menu and select "Send LM & NTLM - use NTLMv2 session security if negotiated". Apply the settings Please check related policies. 1. Enter “gpedit.msc” in the Start Search box. 2. Open “Computer Configuration”/Windows Settings/Security Settings/Local Policies/Security Settings. 3. In the right pane, enable the following policies: Network access: Allow anonymous SID/name translation Network access: Let Everyone permissions apply to anonymous users Also please disable the following policies. Network access: Restrict anonymous access to Named Pipes and Shares Network access: Do not allow anonymous enumeration of SAM accounts Network access: Do not allow anonymous enumeration of SAM accounts and shares